Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StreamUpgradeBindingElement Class

Definition

Namespace:
System.ServiceModel.Channels
Assemblies:
System.ServiceModel.dll, System.ServiceModel.NetFramingBase.dll
Assembly:
System.ServiceModel.dll
Packages:
System.ServiceModel.NetFramingBase v10.0.652802, System.ServiceModel.Primitives v10.0.652802
Source:
StreamUpgradeBindingElement.cs
Source:
StreamUpgradeBindingElement.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
StreamUpgradeBindingElement()

Initializes a new instance of the StreamUpgradeBindingElement class.

StreamUpgradeBindingElement(StreamUpgradeBindingElement)

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

Methods

Name Description
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


Feedback

Was this page helpful?