ServicedComponent::DisposeObject Method (ServicedComponent^)

 

Finalizes the object and removes the associated COM+ reference.

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

public:
static void DisposeObject(
	ServicedComponent^ sc
)

Parameters

sc
Type: System.EnterpriseServices::ServicedComponent^

The object to dispose.

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

.NET Framework
Available since 1.1
Return to top
Show: