SslStreamSecurityBindingElement.BuildClientStreamUpgradeProvider Method (BindingContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public override StreamUpgradeProvider BuildClientStreamUpgradeProvider(
	BindingContext context


Type: System.ServiceModel.Channels.BindingContext

The BindingContext for the entire channel stack.

This method is called when opening the client channel factory and provides a custom implementation of the StreamUpgradeProvider abstract class.

The BindingContext parameter enables reacting to other elements in the channel stack.

.NET Framework
Available since 3.0
Return to top