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

 

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

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

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public void RegisterAsnetMmcAssembly(
	int doReg,
	string typeName,
	string binaryDirectory,
	out IntPtr exception
)

Parameters

doReg
Type: System.Int32

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

typeName
Type: System.String

The type of the assembly.

binaryDirectory
Type: System.String

The path of the binary directory.

exception
Type: System.IntPtr

The exception to display.

Used internally to register or unregister the executing MMC assembly.

.NET Framework
Available since 2.0
Return to top
Show: