RegistrationHelper 类

定义

在 COM+ 目录中安装和配置程序集。 此类不能被继承。

public ref class RegistrationHelper sealed : MarshalByRefObject, System::EnterpriseServices::IRegistrationHelper
[System.Runtime.InteropServices.Guid("89a86e7b-c229-4008-9baa-2f5c8411d7e0")]
public sealed class RegistrationHelper : MarshalByRefObject, System.EnterpriseServices.IRegistrationHelper
[<System.Runtime.InteropServices.Guid("89a86e7b-c229-4008-9baa-2f5c8411d7e0")>]
type RegistrationHelper = class
    inherit MarshalByRefObject
    interface IRegistrationHelper
Public NotInheritable Class RegistrationHelper
Inherits MarshalByRefObject
Implements IRegistrationHelper
继承
RegistrationHelper
属性
实现

注解

RegistrationHelper由.NET服务安装工具(Regsvcs.exe)和在首次激活 ServicedComponent时执行的自动注册步骤使用。

构造函数

名称 说明
RegistrationHelper()

初始化 RegistrationHelper 类的新实例。

方法

名称 说明
CreateObjRef(Type)

创建一个对象,其中包含生成用于与远程对象通信的代理所需的所有相关信息。

(继承自 MarshalByRefObject)
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetLifetimeService()

检索控制此实例的生存期策略的当前生存期服务对象。

(继承自 MarshalByRefObject)
GetType()

获取当前实例的 Type

(继承自 Object)
InitializeLifetimeService()

获取生存期服务对象来控制此实例的生存期策略。

(继承自 MarshalByRefObject)
InstallAssembly(String, String, String, InstallationFlags)

在 COM+ 应用程序中安装命名程序集。

InstallAssembly(String, String, String, String, InstallationFlags)

在 COM+ 应用程序中安装命名程序集。

InstallAssemblyFromConfig(RegistrationConfig)

在 COM+ 应用程序中安装命名程序集。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。

(继承自 MarshalByRefObject)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
UninstallAssembly(String, String, String)

从给定的应用程序卸载程序集。

UninstallAssembly(String, String)

从给定的应用程序卸载程序集。

UninstallAssemblyFromConfig(RegistrationConfig)

从给定的应用程序卸载程序集。

适用于