Sdílet prostřednictvím


ServiceBase.ServiceMainCallback(Int32, IntPtr) Metoda

Definice

Zaregistruje obslužnou rutinu příkazu a spustí službu.

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)

Parametry

argCount
Int32

Počet argumentů v poli argumentů.

argPointer
IntPtr

nativeint

Struktura IntPtr , která odkazuje na pole argumentů.

Atributy

Platí pro