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
[<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 服務安裝工具會使用 ( # A0) 以及在第一次啟用時執行的自動註冊步驟 ServicedComponentRegistrationHelper 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)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。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()
已過時。

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。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.

適用於