Click or drag to resize
Task Scheduler Managed Class Library

TaskServiceGetDllResourceString Method

Gets a formatted string that tells the Task Scheduler to retrieve a string from a resource .dll file.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public static string GetDllResourceString(
	string dllPath,
	int resourceId
)
Request Example View Source

Parameters

dllPath
Type: SystemString
The path to the .dll file that contains the resource.
resourceId
Type: SystemInt32
The identifier for the resource text (typically a negative number).

Return Value

Type: String
A string in the format of $(@ [dllPath], [resourceId]).
Examples
For example, the setting this property value to $(@ %SystemRoot%\System32\ResourceName.dll, -101) will set the property to the value of the resource text with an identifier equal to -101 in the %SystemRoot%\System32\ResourceName.dll file.
See Also