IRegiisUtility.RegisterAsnetMmcAssembly Method

This method 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)

void RegisterAsnetMmcAssembly (
	int doReg, 
	[InAttribute] String^ assemblyName, 
	[InAttribute] String^ binaryDirectory, 
	[OutAttribute] IntPtr% exception
)
void RegisterAsnetMmcAssembly (
	int doReg, 
	/** @attribute InAttribute() */ String assemblyName, 
	/** @attribute InAttribute() */ String binaryDirectory, 
	/** @attribute OutAttribute() */ /** @ref */ IntPtr exception
)
Not applicable.

Parameters

doReg

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

assemblyName

The type of the assembly.

binaryDirectory

The path of the binary directory.

exception

The exception to display.

  • SecurityPermission  for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
  • SecurityPermission  for executing unmanaged code. Demand value: Demand.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: