Bagikan melalui


StreamUpgradeBindingElement.BuildServerStreamUpgradeProvider Metode

Definisi

Membuat instans di server StreamUpgradeProvider berdasarkan konteks saluran yang disediakan.

public:
 abstract System::ServiceModel::Channels::StreamUpgradeProvider ^ BuildServerStreamUpgradeProvider(System::ServiceModel::Channels::BindingContext ^ context);
public abstract System.ServiceModel.Channels.StreamUpgradeProvider BuildServerStreamUpgradeProvider (System.ServiceModel.Channels.BindingContext context);
abstract member BuildServerStreamUpgradeProvider : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.StreamUpgradeProvider
Public MustOverride 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 kelas StreamUpgradeProviderabstract.

Parameter BindingContext memungkinkan bereaksi terhadap elemen lain di tumpukan saluran.

Berlaku untuk