Click or drag to resize

AutofacDependencyInjectionServiceBehaviorApplyDispatchBehavior Method

Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.

Namespace:  Autofac.Integration.Wcf
Assembly:  Autofac.Integration.Wcf (in Autofac.Integration.Wcf.dll) Version: 6.0.0+691de191498a27e1db2c331d318e19150e41288c
Syntax
public void ApplyDispatchBehavior(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase
)

Parameters

serviceDescription
Type: System.ServiceModel.DescriptionServiceDescription
The service description.
serviceHostBase
Type: System.ServiceModelServiceHostBase
The host that is currently being built.

Implements

IServiceBehaviorApplyDispatchBehavior(ServiceDescription, ServiceHostBase)
Exceptions
ExceptionCondition
ArgumentNullException Thrown if serviceDescription or serviceHostBase is .
See Also