Redigera

Dela via


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
StreamUpgradeBindingElement
Derived

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()

Initializes a new instance of the StreamUpgradeBindingElement class.

StreamUpgradeBindingElement(StreamUpgradeBindingElement)

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

Methods

BuildChannelFactory<TChannel>(BindingContext)

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

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

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

(Inherited from BindingElement)
BuildClientStreamUpgradeProvider(BindingContext)

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

BuildServerStreamUpgradeProvider(BindingContext)

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

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)

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

(Inherited from BindingElement)
Clone()

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

(Inherited from BindingElement)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
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()

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)

Applies to

See also