RegistrationHelper 类

定义

在 COM+ 目录中安装并配置程序集。Installs and configures assemblies in the COM+ catalog. 此类不能被继承。This class cannot be inherited.

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
type RegistrationHelper = class
    inherit MarshalByRefObject
    interface IRegistrationHelper
Public NotInheritable Class RegistrationHelper
Inherits MarshalByRefObject
Implements IRegistrationHelper
继承
RegistrationHelper
属性
实现

注解

RegistrationHelper.NET 服务安装工具(Regsvcs.exe)和将在首次激活ServicedComponent时执行的自动注册步骤一起使用。RegistrationHelper is used by both the .NET Services Installation Tool (Regsvcs.exe) and the automatic registration steps that are performed on first activation of a ServicedComponent.

构造函数

RegistrationHelper()

初始化 RegistrationHelper 类的新实例。Initializes a new instance of the RegistrationHelper class.

方法

CreateObjRef(Type)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(继承自 MarshalByRefObject)
Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetLifetimeService()

检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(继承自 MarshalByRefObject)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
InitializeLifetimeService()

获取生存期服务对象来控制此实例的生存期策略。Obtains a lifetime service object to control the lifetime policy for this instance.

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

在 COM+ 应用程序中安装命名的程序集。Installs the named assembly in a COM+ application.

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

在 COM+ 应用程序中安装命名的程序集。Installs the named assembly in a COM+ application.

InstallAssemblyFromConfig(RegistrationConfig)

在 COM+ 应用程序中安装命名的程序集。Installs the named assembly in a COM+ application.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object.

(继承自 MarshalByRefObject)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

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

从给定应用程序卸载程序集。Uninstalls the assembly from the given application.

UninstallAssembly(String, String, String)

从给定应用程序卸载程序集。Uninstalls the assembly from the given application.

UninstallAssemblyFromConfig(RegistrationConfig)

从给定应用程序卸载程序集。Uninstalls the assembly from the given application.

适用于