RegistrationHelperTx RegistrationHelperTx RegistrationHelperTx RegistrationHelperTx Class

Definition

Warning

This API is now obsolete.

Used by the .NET Framework infrastructure to install and configure assemblies in the COM+ catalog while maintaining a newly established transaction.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class RegistrationHelperTx sealed : System::EnterpriseServices::ServicedComponent
[System.Obsolete("The RegistrationHelperTx class has been deprecated.")]
[System.Runtime.InteropServices.Guid("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")]
[System.Runtime.InteropServices.Guid("9e31421c-2f15-4f35-ad20-66fb9d4cd428")]
public sealed class RegistrationHelperTx : System.EnterpriseServices.ServicedComponent
type RegistrationHelperTx = class
    inherit ServicedComponent
Public NotInheritable Class RegistrationHelperTx
Inherits ServicedComponent
Inheritance
Attributes

Remarks

A TransactionAttribute class attribute is applied to the RegistrationHelperTx class, with a parameter of the RequiresNew field.

This type does not need to be used directly from your code. Instead, use the RegistrationHelper class.

Constructors

RegistrationHelperTx() RegistrationHelperTx() RegistrationHelperTx() RegistrationHelperTx()

Initializes a new instance of the RegistrationHelperTx class.

Methods

Activate() Activate() Activate() Activate()

Called by the infrastructure when the object is created or allocated from a pool. Override this method to add custom initialization code to objects.

(Inherited from ServicedComponent)
CanBePooled() CanBePooled() CanBePooled() CanBePooled()

This method is called by the infrastructure before the object is put back into the pool. Override this method to vote on whether the object is put back into the pool.

(Inherited from ServicedComponent)
Construct(String) Construct(String) Construct(String) Construct(String)

Called by the infrastructure just after the constructor is called, passing in the constructor string. Override this method to make use of the construction string value.

(Inherited from ServicedComponent)
CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) 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)
Deactivate() Deactivate() Deactivate() Deactivate()

Called by the infrastructure when the object is about to be deactivated. Override this method to add custom finalization code to objects when just-in-time (JIT) compiled code or object pooling is used.

(Inherited from ServicedComponent)
Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the ServicedComponent.

(Inherited from ServicedComponent)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the ServicedComponent and optionally releases the managed resources.

(Inherited from ServicedComponent)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

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

(Inherited from MarshalByRefObject)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

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

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

Installs the named assembly in the COM+ catalog using transactional semantics.

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

Installs the named assembly in the COM+ catalog using transactional semantics.

InstallAssemblyFromConfig(RegistrationConfig, Object) InstallAssemblyFromConfig(RegistrationConfig, Object) InstallAssemblyFromConfig(RegistrationConfig, Object) InstallAssemblyFromConfig(RegistrationConfig, Object)

Installs a specified assembly in the COM+ catalog using transactional semantics.

IsInTransaction() IsInTransaction() IsInTransaction() IsInTransaction()

Gets a value indicating whether the current context for the RegistrationHelperTx class instance is transactional.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

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

Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssembly(String, String, String, Object) UninstallAssembly(String, String, String, Object) UninstallAssembly(String, String, String, Object) UninstallAssembly(String, String, String, Object)

Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssemblyFromConfig(RegistrationConfig, Object) UninstallAssemblyFromConfig(RegistrationConfig, Object) UninstallAssemblyFromConfig(RegistrationConfig, Object) UninstallAssemblyFromConfig(RegistrationConfig, Object)

Uninstalls a specified assembly from a COM+ application using transactional semantics.

Explicit Interface Implementations

IRemoteDispatch.RemoteDispatchAutoDone(String) IRemoteDispatch.RemoteDispatchAutoDone(String) IRemoteDispatch.RemoteDispatchAutoDone(String) IRemoteDispatch.RemoteDispatchAutoDone(String)

Ensures that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation.

(Inherited from ServicedComponent)
IRemoteDispatch.RemoteDispatchNotAutoDone(String) IRemoteDispatch.RemoteDispatchNotAutoDone(String) IRemoteDispatch.RemoteDispatchNotAutoDone(String) IRemoteDispatch.RemoteDispatchNotAutoDone(String)

Does not ensure that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation.

(Inherited from ServicedComponent)
IServicedComponentInfo.GetComponentInfo(Int32, String[]) IServicedComponentInfo.GetComponentInfo(Int32, String[]) IServicedComponentInfo.GetComponentInfo(Int32, String[]) IServicedComponentInfo.GetComponentInfo(Int32, String[])

Obtains certain information about the ServicedComponent class instance.

(Inherited from ServicedComponent)

Applies to

See also