Bagikan melalui


StreamUpgradeProvider.CreateUpgradeInitiator(EndpointAddress, Uri) Metode

Definisi

Membuat instans StreamUpgradeInitiator.

public:
 abstract System::ServiceModel::Channels::StreamUpgradeInitiator ^ CreateUpgradeInitiator(System::ServiceModel::EndpointAddress ^ remoteAddress, Uri ^ via);
public abstract System.ServiceModel.Channels.StreamUpgradeInitiator CreateUpgradeInitiator (System.ServiceModel.EndpointAddress remoteAddress, Uri via);
abstract member CreateUpgradeInitiator : System.ServiceModel.EndpointAddress * Uri -> System.ServiceModel.Channels.StreamUpgradeInitiator
Public MustOverride Function CreateUpgradeInitiator (remoteAddress As EndpointAddress, via As Uri) As StreamUpgradeInitiator

Parameter

remoteAddress
EndpointAddress

Alamat titik akhir untuk saluran.

via
Uri

Alamat Via URI (URI perantara di mana komunikasi dapat dirutekan).

Mengembalikan

Mengembalikan instans .StreamUpgradeInitiator

Keterangan

Metode ini membuat yang terkait StreamUpgradeInitiator untuk penyedia peningkatan ini yang membuat permintaan peningkatan untuk pencocokan StreamUpgradeAcceptor di titik akhir yang disediakan.

Berlaku untuk