RegiisUtility.RegisterAsnetMmcAssembly(Int32, String, String, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the executing Microsoft Management Console (MMC) assembly to be registered or unregistered.
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
0 indicates that the assembly should be unregistered; otherwise, the assembly should be registered.
- typeName
- String
The type of the assembly.
- binaryDirectory
- String
The path of the binary directory.
- exception
-
IntPtr
nativeint
The exception to display.
Implements
Remarks
Used internally to register or unregister the executing MMC assembly.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈