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 发出的升级请求。

适用于