共用方式為


SslStreamSecurityBindingElement.BuildServerStreamUpgradeProvider 方法

定義

根據提供的通道內容,於 StreamUpgradeProvider 的伺服器上建立執行個體。

public:
 override System::ServiceModel::Channels::StreamUpgradeProvider ^ BuildServerStreamUpgradeProvider(System::ServiceModel::Channels::BindingContext ^ context);
public override System.ServiceModel.Channels.StreamUpgradeProvider BuildServerStreamUpgradeProvider (System.ServiceModel.Channels.BindingContext context);
override this.BuildServerStreamUpgradeProvider : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.StreamUpgradeProvider
Public Overrides Function BuildServerStreamUpgradeProvider (context As BindingContext) As StreamUpgradeProvider

參數

context
BindingContext

整個通道堆疊的 BindingContext

傳回

StreamUpgradeProvider的執行個體。

備註

當開啟此服務時會呼叫這個方法,它會提供 StreamUpgradeProvider 抽象類別的自訂實作。

BindingContext 參數可啟用對通道堆疊中其他項目的回應。

適用於