WindowsStreamSecurityBindingElement.BuildServerStreamUpgradeProvider Method

Definition

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

public override System.ServiceModel.Channels.StreamUpgradeProvider BuildServerStreamUpgradeProvider (System.ServiceModel.Channels.BindingContext context);

Parameters

context
BindingContext

The BindingContext for the entire channel stack.

Returns

An instance of the StreamUpgradeProvider.

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1