ServicedComponent Methods

 

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

NameDescription
System_CAPS_protmethodActivate()

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

System_CAPS_protmethodCanBePooled()

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.

System_CAPS_protmethodConstruct(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.

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

System_CAPS_protmethodDeactivate()

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.

System_CAPS_pubmethodDispose()

Releases all resources used by the ServicedComponent.

System_CAPS_protmethodDispose(Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticDisposeObject(ServicedComponent)

Finalizes the object and removes the associated COM+ reference.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIRemoteDispatch.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.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIRemoteDispatch.RemoteDispatchNotAutoDone(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Does not ensure that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServicedComponentInfo.GetComponentInfo(Int32, String[])

This API supports the product infrastructure and is not intended to be used directly from your code. Obtains certain information about the ServicedComponent class instance.

Return to top
Show: