共用方式為


SslStreamSecurityBindingElement.BuildClientStreamUpgradeProvider 方法

定義

根據提供的通道內容,於 StreamUpgradeProvider 的用戶端上建立執行個體。

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

參數

context
BindingContext

整個通道堆疊的 BindingContext

傳回

StreamUpgradeProvider的執行個體。

備註

當開啟用戶端通道處理站時會呼叫這個方法,它會提供 StreamUpgradeProvider 抽象類別的自訂實作。

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

適用於