StreamUpgradeBindingElement StreamUpgradeBindingElement StreamUpgradeBindingElement StreamUpgradeBindingElement Class

Definition

Adds a custom stream upgrade provider to a custom binding.

public ref class StreamUpgradeBindingElement abstract : System::ServiceModel::Channels::BindingElement
public abstract class StreamUpgradeBindingElement : System.ServiceModel.Channels.BindingElement
type StreamUpgradeBindingElement = class
    inherit BindingElement
Public MustInherit Class StreamUpgradeBindingElement
Inherits BindingElement
Inheritance
StreamUpgradeBindingElementStreamUpgradeBindingElementStreamUpgradeBindingElementStreamUpgradeBindingElement

Remarks

To indicate that a custom stream upgrade provider should be used, implement a binding element that implements this abstract class on the custom binding.

This abstract class is implemented by:

Constructors

StreamUpgradeBindingElement() StreamUpgradeBindingElement() StreamUpgradeBindingElement() StreamUpgradeBindingElement()

Initializes a new instance of the StreamUpgradeBindingElement class.

StreamUpgradeBindingElement(StreamUpgradeBindingElement) StreamUpgradeBindingElement(StreamUpgradeBindingElement) StreamUpgradeBindingElement(StreamUpgradeBindingElement) StreamUpgradeBindingElement(StreamUpgradeBindingElement)

Initializes a new instance of the StreamUpgradeBindingElement class from an existing instance.

Methods

BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from the binding context.

(Inherited from BindingElement)
BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.

(Inherited from BindingElement)
BuildClientStreamUpgradeProvider(BindingContext) BuildClientStreamUpgradeProvider(BindingContext) BuildClientStreamUpgradeProvider(BindingContext) BuildClientStreamUpgradeProvider(BindingContext)

Creates an instance on the client of the StreamUpgradeProvider based on the channel context provided.

BuildServerStreamUpgradeProvider(BindingContext) BuildServerStreamUpgradeProvider(BindingContext) BuildServerStreamUpgradeProvider(BindingContext) BuildServerStreamUpgradeProvider(BindingContext)

Creates an instance on the server of the StreamUpgradeProvider based on the channel context provided.

CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

(Inherited from BindingElement)
CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(Inherited from BindingElement)
Clone() Clone() Clone() Clone()

When overridden in a derived class, returns a copy of the binding element object.

(Inherited from BindingElement)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext)

When overridden in a derived class, returns a typed object requested, if present, from the appropriate layer in the binding stack.

(Inherited from BindingElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also