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.
ServiceSecurityAuditBehavior::IServiceBehavior::ApplyDispatchBehavior Method (ServiceDescription^, ServiceHostBase^)
.NET Framework (current version)
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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: virtual void ApplyDispatchBehavior( ServiceDescription^ description, ServiceHostBase^ serviceHostBase ) sealed = IServiceBehavior::ApplyDispatchBehavior
Parameters
- description
-
Type:
System.ServiceModel.Description::ServiceDescription^
The ServiceDescription of the service.
- serviceHostBase
-
Type:
System.ServiceModel::ServiceHostBase^
The host of the service.
| Exception | Condition |
|---|---|
| ArgumentNullException | description is null. |
| ArgumentNullException | serviceHostBase is null. |
Use this method to inspect or modify the ServiceHostBase object that is being constructed to support some custom execution scenario.
.NET Framework
Available since 3.0
Available since 3.0
Show: