RegistrationHelperTx Class
TOC
Collapse the table of content
Expand the table of content

RegistrationHelperTx Class

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

Note: 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.

System.Object
  System.MarshalByRefObject
    System.ContextBoundObject
      System.EnterpriseServices.ServicedComponent
        System.EnterpriseServices.RegistrationHelperTx

Namespace:  System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

[ObsoleteAttribute("The RegistrationHelperTx class has been deprecated.")]
[GuidAttribute("c89ac250-e18a-4fc7-abd5-b8897b6a78a5")]
public sealed class RegistrationHelperTx : ServicedComponent

The RegistrationHelperTx type exposes the following members.

  NameDescription
Public methodRegistrationHelperTxInitializes a new instance of the RegistrationHelperTx class.
Top

  NameDescription
Protected methodActivateCalled 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.)
Protected methodCanBePooledThis 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.)
Protected methodConstructCalled 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.)
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected methodDeactivateCalled 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.)
Public methodDispose()Releases all resources used by the ServicedComponent. (Inherited from ServicedComponent.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the ServicedComponent and optionally releases the managed resources. (Inherited from ServicedComponent.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodInstallAssembly(String, String, String, InstallationFlags, Object)Installs the named assembly in the COM+ catalog using transactional semantics.
Public methodInstallAssembly(String, String, String, String, InstallationFlags, Object)Installs the named assembly in the COM+ catalog using transactional semantics.
Public methodInstallAssemblyFromConfigInstalls a specified assembly in the COM+ catalog using transactional semantics.
Public methodIsInTransactionGets a value indicating whether the current context for the RegistrationHelperTx class instance is transactional.
Protected methodMemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUninstallAssembly(String, String, Object)Uninstalls an assembly from a COM+ application using transactional semantics.
Public methodUninstallAssembly(String, String, String, Object)Uninstalls an assembly from a COM+ application using transactional semantics.
Public methodUninstallAssemblyFromConfigUninstalls a specified assembly from a COM+ application using transactional semantics.
Top

  NameDescription
Explicit interface implemetationPrivate methodIRemoteDispatch.RemoteDispatchAutoDoneEnsures that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation (Inherited from ServicedComponent.)
Explicit interface implemetationPrivate methodIRemoteDispatch.RemoteDispatchNotAutoDoneDoes 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.)
Explicit interface implemetationPrivate methodIServicedComponentInfo.GetComponentInfoObtains information about the ServicedComponent class instance. (Inherited from ServicedComponent.)
Top

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Obsolete (compiler warning) in 4

.NET Framework Client Profile

Supported in: 3.5 SP1
Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2016 Microsoft