ITaskHandler Interface
Defines the methods that are called by the Task Scheduler service to manage a COM handler.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
[GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")]
[InterfaceTypeAttribute(1)]
public interface ITaskHandler
[GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")]
[InterfaceTypeAttribute(1)]
public interface class ITaskHandler
[<GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")>]
[<InterfaceTypeAttribute(1)>]
type ITaskHandler = interface end
<GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")>
<InterfaceTypeAttribute(1)>
Public Interface ITaskHandler
Methods
Name | Description | |
---|---|---|
Pause() | Called to pause the COM handler. This method is optional and should only be implemented to give the Task Scheduler the ability to pause and restart the handler. |
|
Resume() | Called to resume the COM handler. This method is optional and should only be implemented to give the Task Scheduler the ability to resume the handler. |
|
Start(Object, String) | Called to start the COM handler. This method must be implemented by the handler. |
|
Stop(Int32) | Called to stop the COM handler. This method must be implemented by the handler. |
See Also
Return to top