Bagikan melalui


SslStreamSecurityBindingElement.BuildClientStreamUpgradeProvider Metode

Definisi

Membuat instans pada klien StreamUpgradeProvider berdasarkan konteks saluran yang disediakan.

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

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 StreamUpgradeProvider abstrak.

Parameter BindingContext memungkinkan bereaksi terhadap elemen lain di tumpukan saluran.

Berlaku untuk