RegistrationHelperTx Class

Definition

Caution

The RegistrationHelperTx class has been deprecated.

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.Runtime.InteropServices.Guid("9e31421c-2f15-4f35-ad20-66fb9d4cd428")]
public sealed class RegistrationHelperTx : System.EnterpriseServices.ServicedComponent
[System.Runtime.InteropServices.Guid("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")]
public sealed class RegistrationHelperTx : System.EnterpriseServices.ServicedComponent
[System.Runtime.InteropServices.Guid("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")]
[System.Obsolete("The RegistrationHelperTx class has been deprecated.")]
public sealed class RegistrationHelperTx : System.EnterpriseServices.ServicedComponent
[<System.Runtime.InteropServices.Guid("9e31421c-2f15-4f35-ad20-66fb9d4cd428")>]
type RegistrationHelperTx = class
    inherit ServicedComponent
[<System.Runtime.InteropServices.Guid("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")>]
type RegistrationHelperTx = class
    inherit ServicedComponent
[<System.Runtime.InteropServices.Guid("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")>]
[<System.Obsolete("The RegistrationHelperTx class has been deprecated.")>]
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()

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

Initializes a new instance of the RegistrationHelperTx class.

Methods

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()

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)

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)

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()

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()

Releases all resources used by the ServicedComponent.

(Inherited from ServicedComponent)
Dispose(Boolean)

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

(Inherited from ServicedComponent)
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, Object)

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

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

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

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

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

InstallAssemblyFromConfig(RegistrationConfig, Object)

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

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

IsInTransaction()

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

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

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, Object)

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

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

UninstallAssembly(String, String, String, Object)

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

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

UninstallAssemblyFromConfig(RegistrationConfig, Object)

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

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

Explicit Interface Implementations

IRemoteDispatch.RemoteDispatchAutoDone(String)

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

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)

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[])

Obtains certain information about the ServicedComponent class instance.

(Inherited from ServicedComponent)

Applies to

See also