StreamUpgradeProvider.CreateUpgradeInitiator(EndpointAddress, Uri) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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
參數
- remoteAddress
- EndpointAddress
通道的端點位址。
- via
- Uri
Via URI 的位址 (這是路由傳送通訊所透過的中繼 URI)。
傳回
傳回 StreamUpgradeInitiator 的執行個體。
備註
這個方法會針對此升級提供者建立關聯的 StreamUpgradeInitiator,它可在提供的端點上針對相符的 StreamUpgradeAcceptor 建立升級要求。