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::AddBindingParameters Method (ServiceDescription^, ServiceHostBase^, Collection<ServiceEndpoint^>^, BindingParameterCollection^)
.NET Framework (current version)
Passes custom data to binding elements to support the contract implementation.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: virtual void AddBindingParameters( ServiceDescription^ description, ServiceHostBase^ serviceHostBase, Collection<ServiceEndpoint^>^ endpoints, BindingParameterCollection^ parameters ) sealed = IServiceBehavior::AddBindingParameters
Parameters
- description
-
Type:
System.ServiceModel.Description::ServiceDescription^
The ServiceDescription of the service.
- serviceHostBase
-
Type:
System.ServiceModel::ServiceHostBase^
The host of the service.
- endpoints
-
Type:
System.Collections.ObjectModel::Collection<ServiceEndpoint^>^
The service endpoints.
- parameters
- Type: System.ServiceModel.Channels::BindingParameterCollection^
| Exception | Condition |
|---|---|
| ArgumentNullException | set and parameters are null. |
Use this method to add custom data objects to the parameters collection that binding elements can use to acquire extra information to enable them to support the contract.
.NET Framework
Available since 3.0
Available since 3.0
Show: