Επεξεργασία

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


ServicedComponent.DisposeObject(ServicedComponent) Method

Definition

Finalizes the object and removes the associated COM+ reference.

public:
 static void DisposeObject(System::EnterpriseServices::ServicedComponent ^ sc);
public static void DisposeObject (System.EnterpriseServices.ServicedComponent sc);
static member DisposeObject : System.EnterpriseServices.ServicedComponent -> unit
Public Shared Sub DisposeObject (sc As ServicedComponent)

Parameters

sc
ServicedComponent

The object to dispose.

Remarks

It is preferable to use the Dispose design pattern rather than DisposeObject.

Applies to