共用方式為


StreamUpgradeBindingElement.BuildClientStreamUpgradeProvider 方法

定義

根據提供的通道內容,在 StreamUpgradeProvider 用戶端上建立實例。

public:
 abstract System::ServiceModel::Channels::StreamUpgradeProvider ^ BuildClientStreamUpgradeProvider(System::ServiceModel::Channels::BindingContext ^ context);
public abstract System.ServiceModel.Channels.StreamUpgradeProvider BuildClientStreamUpgradeProvider (System.ServiceModel.Channels.BindingContext context);
abstract member BuildClientStreamUpgradeProvider : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.StreamUpgradeProvider
Public MustOverride Function BuildClientStreamUpgradeProvider (context As BindingContext) As StreamUpgradeProvider

參數

context
BindingContext

整個通道堆疊的 BindingContext

傳回

StreamUpgradeProvider的實例。

備註

開啟用戶端通道處理站並提供 StreamUpgradeProviderabstract 類別的自定義實作時,會呼叫這個方法。

BindingContext 參數可讓您回應通道堆疊中的其他元素。

適用於