ServiceBase.ServiceMainCallback(Int32, IntPtr) Méthode

Définition

Inscrit le gestionnaire de commandes et démarre le 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)

Paramètres

argCount
Int32

Nombre d'arguments dans le tableau d'arguments.

argPointer
IntPtr

nativeint

Structure IntPtr qui désigne un tableau d'arguments.

Attributs

S’applique à