Compartir a través de


ServiceBase.ServiceMainCallback(Int32, IntPtr) Método

Definición

Registra el controlador de comandos e inicia el servicio.

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)

Parámetros

argCount
Int32

Número de argumentos de la matriz de argumentos.

argPointer
IntPtr

nativeint

Estructura IntPtr que señala a una matriz de argumentos.

Atributos

Se aplica a