Sdílet prostřednictvím


InstrumentationManager.RegisterType(Type) Metoda

Definice

Zaregistruje třídu s infrastrukturou rozhraní 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)

Parametry

managementType
Type

Typ třídy.

Příklady

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

Platí pro