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.
BindingContext Constructor (CustomBinding^, BindingParameterCollection^)
.NET Framework (current version)
Initializes a new instance of the BindingContext class for a specified binding and collection of binding parameters.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- binding
-
Type:
System.ServiceModel.Channels::CustomBinding^
The CustomBinding for the channel.
- parameters
-
Type:
System.ServiceModel.Channels::BindingParameterCollection^
The BindingParameterCollection for the channel.
| Exception | Condition |
|---|---|
| ArgumentNullException | binding is null. |
The value of ListenUriMode is set to Explicit by this constructor, the relative address is set to Empty, and the base address is set to null.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: