AspNetManagementUtility.RegisterAsnetMmcAssembly 方法

定义

向 Microsoft 管理控制台 (MMC) 注册 ASP.NET 管理单元。

此 API 支持产品基础结构,不能在代码中直接使用。

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)

参数

doReg
Int32

1 表示注册类型,0 表示注销类型。

typeName
String

要注册的类型的名称。

binaryDirectory
String

包含程序集的目录。

exception
IntPtr

nativeint

指向注册期间引发的任何异常的指针。

实现

注解

有关使用 AspNetManagementUtility 类和 Microsoft 管理控制台 (MMC) 编程的详细信息,请参阅 MMC 程序员指南

适用于