StreamUpgradeBindingElement Class
Adds a custom stream upgrade provider to a custom binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Channels.BindingElement
System.ServiceModel.Channels.StreamUpgradeBindingElement
System.ServiceModel.Channels.SslStreamSecurityBindingElement
System.ServiceModel.Channels.WindowsStreamSecurityBindingElement
| 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. |
| Name | Description | |
|---|---|---|
![]() | BuildChannelFactory(Of TChannel)(BindingContext) | Initializes a channel factory for producing channels of a specified type from the binding context.(Inherited from BindingElement.) |
![]() | BuildChannelListener(Of 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(Of 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(Of 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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetProperty(Of 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() | |
![]() | MemberwiseClone() | |
![]() | ToString() | 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:
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.

