The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IInstanceProvider::ReleaseInstance Method (InstanceContext^, Object^)
.NET Framework (current version)
Called when an InstanceContext object recycles a service object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- instanceContext
-
Type:
System.ServiceModel::InstanceContext^
The service's instance context.
- instance
-
Type:
System::Object^
The service object to be recycled.
Use the ReleaseInstance method to perform some custom resource disposal or other recycling customization when a service recycles a service object.
.NET Framework
Available since 3.0
Available since 3.0
Show: