Compartir a través de


InstrumentationManager.RegisterType(Type) Método

Definición

Registra una clase en la infraestructura de WMI.

public:
 static void RegisterType(Type ^ managementType);
public static void RegisterType (Type managementType);
static member RegisterType : Type -> unit
Public Shared Sub RegisterType (managementType As Type)

Parámetros

managementType
Type

Tipo de la clase.

Ejemplos

static int Main(string[] args)
{
   InstrumentationManager.RegisterType(typeof(MySampleProvider));
   return 0;
}

Se aplica a