Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RegiisUtility.RegisterAsnetMmcAssembly Method

This API supports the .NET Framework 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.

Implements

IRegiisUtility.RegisterAsnetMmcAssembly(Int32, String, String, IntPtr)

Used internally to register or unregister the executing MMC assembly.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft