Windows apps
Collapse the table of content
Expand the table of content
Information
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^)

 

Passes custom data to binding elements to support the contract implementation.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
virtual void AddBindingParameters(
	ServiceDescription^ description,
	ServiceHostBase^ serviceHostBase,
	Collection<ServiceEndpoint^>^ endpoints,
	BindingParameterCollection^ parameters
) sealed = IServiceBehavior::AddBindingParameters

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
Return to top
Show:
© 2017 Microsoft