Click or drag to resize

AutofacInstanceProviderReleaseInstance Method

Called when an InstanceContext object recycles a service object.

Namespace:  Autofac.Integration.Wcf
Assembly:  Autofac.Integration.Wcf (in Autofac.Integration.Wcf.dll) Version: 6.0.0+691de191498a27e1db2c331d318e19150e41288c
Syntax
public void ReleaseInstance(
	InstanceContext instanceContext,
	Object instance
)

Parameters

instanceContext
Type: System.ServiceModelInstanceContext
The service's instance context.
instance
Type: SystemObject
The service object to be recycled.

Implements

IInstanceProviderReleaseInstance(InstanceContext, Object)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if instanceContext is .
See Also