Upraviť

Zdieľať cez


ServiceBase.ServiceMainCallback(Int32, IntPtr) Method

Definition

Registers the command handler and starts the service.

public:
 void ServiceMainCallback(int argCount, IntPtr argPointer);
public void ServiceMainCallback (int argCount, IntPtr argPointer);
[System.Runtime.InteropServices.ComVisible(false)]
public void ServiceMainCallback (int argCount, IntPtr argPointer);
member this.ServiceMainCallback : int * nativeint -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ServiceMainCallback : int * nativeint -> unit
Public Sub ServiceMainCallback (argCount As Integer, argPointer As IntPtr)

Parameters

argCount
Int32

The number of arguments in the argument array.

argPointer
IntPtr

nativeint

An IntPtr structure that points to an array of arguments.

Attributes

Applies to