IRegiisUtility.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)]
void RegisterAsnetMmcAssembly(
	int doReg,
	string assemblyName,
	string binaryDirectory,
	out IntPtr exception
)

Parameters

doReg
Type: System.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
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.

.NET Framework
Available since 2.0
Return to top
Show: