ServiceBase.ServiceMainCallback(Int32, IntPtr) Metoda

Definicja

Rejestruje program obsługi poleceń i uruchamia usługę.

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

Liczba argumentów w tablicy argumentów.

argPointer
IntPtr

nativeint

Struktura wskazująca IntPtr tablicę argumentów.

Atrybuty

Dotyczy