WindowsStreamSecurityBindingElement.BuildServerStreamUpgradeProvider 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 server of the StreamUpgradeProvider based on the channel context provided.

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

public override StreamUpgradeProvider BuildServerStreamUpgradeProvider(
	BindingContext context


Type: System.ServiceModel.Channels.BindingContext

The BindingContext for the entire channel stack.

This method is called when building the provider channel listener 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