TaskServiceGetDllResourceString Method
Gets a formatted string that tells the Task Scheduler to retrieve a string from a resource .dll file.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static string GetDllResourceString(
string dllPath,
int resourceId
)
- dllPath String
- The path to the .dll file that contains the resource.
- resourceId Int32
- The identifier for the resource text (typically a negative number).
StringA string in the format of $(@ [dllPath], [resourceId]).
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.