Partager via


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
System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod Start(Object, String)

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

System_CAPS_pubmethod Stop(Int32)

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

See Also

Microsoft.Storage Namespace

Return to top