StreamUpgradeBindingElement Class

 

Adds a custom stream upgrade provider to a custom binding.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)


public abstract class StreamUpgradeBindingElement : BindingElement

NameDescription
System_CAPS_protmethodStreamUpgradeBindingElement()

Initializes a new instance of the StreamUpgradeBindingElement class.

System_CAPS_protmethodStreamUpgradeBindingElement(StreamUpgradeBindingElement)

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

NameDescription
System_CAPS_pubmethodBuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from the binding context.(Inherited from BindingElement.)

System_CAPS_pubmethodBuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.(Inherited from BindingElement.)

System_CAPS_pubmethodBuildClientStreamUpgradeProvider(BindingContext)

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

System_CAPS_pubmethodBuildServerStreamUpgradeProvider(BindingContext)

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

System_CAPS_pubmethodCanBuildChannelFactory<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.)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.(Inherited from BindingElement.)

System_CAPS_pubmethodClone()

When overridden in a derived class, returns a copy of the binding element object.(Inherited from BindingElement.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperty<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.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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:

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: