Bagikan melalui


StreamUpgradeBindingElement.BuildClientStreamUpgradeProvider Metode

Definisi

Membuat instans pada klien StreamUpgradeProvider berdasarkan konteks saluran yang disediakan.

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

Parameter

context
BindingContext

BindingContext untuk seluruh tumpukan saluran.

Mengembalikan

Instans StreamUpgradeProvider.

Keterangan

Metode ini dipanggil saat membuka pabrik saluran klien dan menyediakan implementasi kustom kelas StreamUpgradeProviderabstract.

Parameter BindingContext memungkinkan bereaksi terhadap elemen lain di tumpukan saluran.

Berlaku untuk