Instrumentation.RegisterAssembly(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the management instance or event classes in the specified assembly with WMI. This ensures that the instrumentation schema is accessible to System.Management client applications.
public:
static void RegisterAssembly(System::Reflection::Assembly ^ assemblyToRegister);
public static void RegisterAssembly (System.Reflection.Assembly assemblyToRegister);
static member RegisterAssembly : System.Reflection.Assembly -> unit
Public Shared Sub RegisterAssembly (assemblyToRegister As Assembly)
Parameters
Remarks
.NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.