Επεξεργασία

Κοινή χρήση μέσω


RegistrationHelper Class

Definition

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
Inheritance
RegistrationHelper
Attributes
Implements

Remarks

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.

Constructors

RegistrationHelper()

Initializes a new instance of the RegistrationHelper class.

Methods

CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
InstallAssembly(String, String, String, InstallationFlags)

Installs the named assembly in a COM+ application.

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

Installs the named assembly in a COM+ application.

InstallAssemblyFromConfig(RegistrationConfig)

Installs the named assembly in a COM+ application.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UninstallAssembly(String, String, String)

Uninstalls the assembly from the given application.

UninstallAssembly(String, String)

Uninstalls the assembly from the given application.

UninstallAssemblyFromConfig(RegistrationConfig)

Uninstalls the assembly from the given application.

Applies to