共用方式為


StreamUpgradeProvider.CreateUpgradeAcceptor 方法

定義

建立 StreamUpgradeAcceptor 的執行個體。

public:
 abstract System::ServiceModel::Channels::StreamUpgradeAcceptor ^ CreateUpgradeAcceptor();
public abstract System.ServiceModel.Channels.StreamUpgradeAcceptor CreateUpgradeAcceptor ();
abstract member CreateUpgradeAcceptor : unit -> System.ServiceModel.Channels.StreamUpgradeAcceptor
Public MustOverride Function CreateUpgradeAcceptor () As StreamUpgradeAcceptor

傳回

傳回 StreamUpgradeAcceptor 的執行個體。

備註

此方法會針對這個升級提供者建立關聯的 UpgradeAcceptor,它可從相符的 UpgradeInitiator 接受升級要求。

適用於