다음을 통해 공유


InstrumentationManager.RegisterType(Type) 메서드

정의

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)

매개 변수

managementType
Type

클래스의 형식입니다.

예제

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

적용 대상