RegistrationHelper 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
安裝並配置 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 同時用於 .NET 服務安裝工具(Regsvcs.exe)以及首次啟用 ServicedComponent 時執行的自動註冊步驟。
建構函式
| 名稱 | Description |
|---|---|
| RegistrationHelper() |
初始化 RegistrationHelper 類別的新執行個體。 |
方法
| 名稱 | Description |
|---|---|
| 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) |
從指定的應用程式中卸載該組件。 |