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)

<GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")>
<InterfaceTypeAttribute(1)>
Public Interface ITaskHandler

NameDescription
System_CAPS_pubmethodPause()

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.

System_CAPS_pubmethodResume()

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.

System_CAPS_pubmethodStart(Object, String)

Called to start the COM handler. This method must be implemented by the handler.

System_CAPS_pubmethodStop(Int32)

Called to stop the COM handler. This method must be implemented by the handler.

Return to top

Community Additions

ADD
Show: