AddBindingParameters Method

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Provides the ability to pass custom data to binding elements to support the contract implementation.

Namespace: Microsoft.Activities.Extensions.ServiceModel
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public void AddBindingParameters(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase,
	Collection<ServiceEndpoint> endpoints,
	BindingParameterCollection bindingParameters
)
Visual Basic
Public Sub AddBindingParameters ( _
	serviceDescription As ServiceDescription, _
	serviceHostBase As ServiceHostBase, _
	endpoints As Collection(Of ServiceEndpoint), _
	bindingParameters As BindingParameterCollection _
)
Visual C++
public:
virtual void AddBindingParameters(
	ServiceDescription^ serviceDescription, 
	ServiceHostBase^ serviceHostBase, 
	Collection<ServiceEndpoint^>^ endpoints, 
	BindingParameterCollection^ bindingParameters
) sealed

Parameters

serviceDescription
Type: System.ServiceModel.Description..::..ServiceDescription
The service description of the service.
serviceHostBase
Type: System.ServiceModel..::..ServiceHostBase
The host of the service.
endpoints
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'ServiceEndpoint>)>)>
The service endpoints.
bindingParameters
Type: System.ServiceModel.Channels..::..BindingParameterCollection
Custom objects to which binding elements have access.

Implements

IServiceBehavior..::..AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<(Of <<'(ServiceEndpoint>)>>), BindingParameterCollection)

See Also