次の方法で共有


ProviderActivityBase.OnStart Method (IActivityHost)

 

Called when a service the provider supports is started.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public override bool OnStart(
    IActivityHost service
)
public:
virtual bool OnStart(
    IActivityHost^ service
) override
Public Overrides Function OnStart (
    service As IActivityHost
) As Boolean

Parameters

  • service
    Type: Microsoft.WindowsServer.Essentials.WindowsService.IActivityHost

    The service to start.

Return Value

Type: System.Boolean

true if the service is started; otherwise, false.

See Also

ProviderActivityBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top