ServiceBase.ServiceMainCallback Method (Int32, IntPtr)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Registers the command handler and starts the service.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

<ComVisibleAttribute(False)>
Public Sub ServiceMainCallback (
	argCount As Integer,
	argPointer As IntPtr
)

Parameters

argCount
Type: System.Int32

The number of arguments in the argument array.

argPointer
Type: System.IntPtr

An IntPtr structure that points to an array of arguments.

.NET Framework
Available since 2.0
Return to top
Show: