Provides information about the addresses, bindings, binding elements and binding parameters required to build the channel factories on a Silverlight 5 client.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Class BindingContext
public class BindingContext
The BindingContext type exposes the following members.
|BindingContext||Initializes a new instance of the BindingContext class for a specified binding and collection of binding parameters.|
|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.|
|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.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.