Provides information about the addresses, bindings, binding elements and binding parameters required to build the channel listeners and channel factories.
public ref class BindingContext
public class BindingContext
type BindingContext = class
Public Class BindingContext
The channel listeners and channel factories, in turn, construct the channel stacks used to process incoming and outgoing messages. The binding context also provides the linkage to the inner channel factories and channel listeners that are used to construct the channel and listener stacks. The binding context basically stores all of the dynamic information needed during the construction of the channel stack.
Initializes a new instance of the BindingContext class for a specified binding and collection of binding parameters.
|BindingContext(CustomBinding, BindingParameterCollection, Uri, String, ListenUriMode)||
Initializes a new instance of the BindingContext class for a specified binding, collection of binding parameters, and address for the endpoint at which the service listens.
Gets the binding for the channel built in the current context.
Gets the collection of binding parameters for the channel built in the current context.
Gets or sets the URI that provides the base address at which the service endpoint listens.
Gets or sets a value that indicates whether the transport must ensure that the URI provided for the service to listen on is unique.
Gets or sets the URI that provides the relative address at which the service endpoint listens.
Gets the binding elements that are used by other binding elements to construct the channel stack.
Builds the inner channel factory for channels of a specified type below the current channel factory.
Builds an inner channel listener that listens for a specified type of channel.
Returns a value that indicates whether the inner channel factory can produce a specified type of channel.
Returns a value that indicates whether the inner channel listener can be built to listen for a specified type of channel.
Returns a copy of the current channel build context.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Returns a typed object requested, if present, from the appropriate layer in the binding stack.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)