IRegiisUtility.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:
 void RegisterAsnetMmcAssembly(int doReg, System::String ^ assemblyName, System::String ^ binaryDirectory, [Runtime::InteropServices::Out] IntPtr % exception);
public void RegisterAsnetMmcAssembly (int doReg, string assemblyName, string binaryDirectory, out IntPtr exception);
abstract member RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
Public Sub RegisterAsnetMmcAssembly (doReg As Integer, assemblyName As String, binaryDirectory As String, ByRef exception As IntPtr)

Parameters

doReg
Int32

A value of 0 indicates that the assembly should be unregistered. A value other than 0 indicates that the assembly should be registered.

assemblyName
String

The type of the assembly.

binaryDirectory
String

The path of the binary directory.

exception
IntPtr

nativeint

The exception to display.

Applies to