RegiisUtility.RegisterSystemWebAssembly(Int32, IntPtr) 方法
定义
注册或注销正在执行的 Web 程序集。Allows the executing Web assembly to be registered or unregistered.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
virtual void RegisterSystemWebAssembly(int doReg, [Runtime::InteropServices::Out] IntPtr % exception);
public void RegisterSystemWebAssembly (int doReg, out IntPtr exception);
abstract member RegisterSystemWebAssembly : int * nativeint -> unit
override this.RegisterSystemWebAssembly : int * nativeint -> unit
Public Sub RegisterSystemWebAssembly (doReg As Integer, ByRef exception As IntPtr)
参数
- doReg
- Int32
如果为 0,则指示应注销程序集;否则指示应注册程序集。0 indicates that the assembly should be unregistered; otherwise, the assembly should be registered.
- exception
- IntPtr
要显示的异常。The exception to display.
实现
注解
用于注册或注销正在执行的 Web 程序集。Used to register or unregister the executing Web assembly.