Bagikan melalui


SslStreamSecurityBindingElement.BuildServerStreamUpgradeProvider Metode

Definisi

Membuat instans di server StreamUpgradeProvider berdasarkan konteks saluran yang disediakan.

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

Parameter

context
BindingContext

BindingContext untuk seluruh tumpukan saluran.

Mengembalikan

Instans StreamUpgradeProvider.

Keterangan

Metode ini dipanggil saat membuka layanan dan menyediakan implementasi kustom dari StreamUpgradeProvider kelas abstrak.

Parameter BindingContext memungkinkan bereaksi terhadap elemen lain di tumpukan saluran.

Berlaku untuk