ContextBindingElement Members

.NET Framework 3.5

Provides a protection level and an exchange mechanism as part of the context of a binding element and the functionality to build the channel listeners and factories.

The ContextBindingElement type exposes the following members.

  NameDescription
Public method ContextBindingElement Overloaded. Initializes a new instance of the ContextBindingElement class.
Top

  NameDescription
Public method BuildChannelFactory<TChannel> Builds the channel factory stack on the client that creates a specified type of channel for a specified context. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public method BuildChannelListener<TChannel> Builds the channel listener stack on the client that accepts a specified type of channel for a specified context. (Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)
Public method CanBuildChannelFactory<TChannel> Returns a value that indicates whether the current binding element can build a factory for a specified type of channel and context. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public method CanBuildChannelListener<TChannel> Returns a value that indicates whether the current binding can build a listener for a specified type of channel and context. (Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)
Public method Clone Creates a new ContextBindingElement object initialized from the current one. (Overrides BindingElement.Clone().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExportPolicy Writes custom policy assertions into the context of the binding element.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty<T> Returns the typed object with the specified context from the appropriate layer in the channel stack. (Overrides BindingElement.GetProperty<T>(BindingContext).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ContextExchangeMechanism Gets or sets the exchange mechanism used to communicate context for the binding element.
Public property ProtectionLevel Gets or sets the level of protection for the binding element from the context.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft