StreamUpgradeBindingElement.BuildClientStreamUpgradeProvider Method (BindingContext)

 

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 abstract StreamUpgradeProvider BuildClientStreamUpgradeProvider(
	BindingContext context
)

Parameters

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 StreamUpgradeProviderabstract class.

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

.NET Framework
Available since 3.0
Return to top
Show: