BindingContext Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides information about the addresses, bindings, binding elements and binding parameters required to build the channel factories on a Windows Phone client.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The BindingContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BindingContext | Initializes a new instance of the BindingContext class for a specified binding and collection of binding parameters. |
| Name | Description | |
|---|---|---|
![]() | Binding | Gets the binding for the channel built in the current context. |
![]() | BindingParameters | Gets the collection of binding parameters for the channel built in the current context. |
![]() | RemainingBindingElements | Gets the binding elements that are used by other binding elements to construct the channel stack. |
| Name | Description | |
|---|---|---|
![]() | BuildInnerChannelFactory<TChannel> | Builds the inner channel factory for channels of a specified type below the current channel factory. |
![]() | CanBuildInnerChannelFactory<TChannel> | Returns a value that indicates whether the inner channel factory can produce a specified type of channel. |
![]() | Clone | Returns a copy of the current channel build context. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInnerProperty<T> | Returns a typed object requested, if present, from the appropriate layer in the binding stack. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The channel factories, in turn, construct the channel stacks used to process outgoing messages. The binding context also provides the linkage to the inner channel factories that are used to order the channels in the stack. The binding context basically stores all of the dynamic information required during the construction of the channel stack.


