AspNetManagementUtility.RegisterAsnetMmcAssembly 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向 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 程序员指南。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈