ProviderServiceBase.OnStartInner Method (String[])
Called when the Windows Service is started.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
protected virtual int OnStartInner(
string[] args
)
protected:
virtual int OnStartInner(
array<String^>^ args
)
Protected Overridable Function OnStartInner (
args As String()
) As Integer
Parameters
args
Type: System.String[]Arguments passed on the command line.
Return Value
Type: System.Int32
Returns Int32.
Remarks
Classes deriving from ProviderServiceBase do not need to override this method unless they need to run additional code at service start time that for some reason cannot be done in CreateProviderHosts.
See Also
ProviderServiceBase Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top