Uredi

Deli z drugimi prek


AspNetManagementUtility.RegisterAsnetMmcAssembly Method

Definition

Registers the ASP.NET snap-in with the Microsoft Management Console (MMC).

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

public:
 virtual void RegisterAsnetMmcAssembly(int doReg, System::String ^ typeName, System::String ^ binaryDirectory, [Runtime::InteropServices::Out] IntPtr % exception);
public void RegisterAsnetMmcAssembly (int doReg, string typeName, string binaryDirectory, out IntPtr exception);
abstract member RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
override this.RegisterAsnetMmcAssembly : int * string * string * nativeint -> unit
Public Sub RegisterAsnetMmcAssembly (doReg As Integer, typeName As String, binaryDirectory As String, ByRef exception As IntPtr)

Parameters

doReg
Int32

A 1 to register or a 0 to unregister the type.

typeName
String

The name of the type to register.

binaryDirectory
String

The directory containing the assembly.

exception
IntPtr

nativeint

A pointer to any exception thrown during registration.

Implements

Remarks

For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to