TaskServiceGetDllResourceString Method

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

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static string GetDllResourceString(
	string dllPath,
	int resourceId
)

Parameters

dllPath  String
The path to the .dll file that contains the resource.
resourceId  Int32
The identifier for the resource text (typically a negative number).

Return Value

String
A string in the format of $(@ [dllPath], [resourceId]).

Example

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