RegiisUtility.RegisterAsnetMmcAssembly(Int32, String, String, IntPtr) Method

Definition

Allows the executing Microsoft Management Console (MMC) assembly to be registered or unregistered.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual void RegisterAsnetMmcAssembly(int doReg, System::String ^ typeName, System::String ^ binaryDirectory, [Runtime::InteropServices::Out] IntPtr % exception);
public void RegisterAsnetMmcAssembly (int doReg, string typeName, string binaryDirectory, out IntPtr exception);
abstract member RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
override this.RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
Public Sub RegisterAsnetMmcAssembly (doReg As Integer, typeName As String, binaryDirectory As String, ByRef exception As IntPtr)

Parameters

doReg
Int32

0 indicates that the assembly should be unregistered; otherwise, the assembly should be registered.

typeName
String

The type of the assembly.

binaryDirectory
String

The path of the binary directory.

exception
IntPtr

nativeint

The exception to display.

Implements

Remarks

Used internally to register or unregister the executing MMC assembly.

Applies to