StreamSecurityUpgradeInitiator 类

定义

若要实现安全升级发起方,请从此 abstract 基类继承。

public ref class StreamSecurityUpgradeInitiator abstract : System::ServiceModel::Channels::StreamUpgradeInitiator
public abstract class StreamSecurityUpgradeInitiator : System.ServiceModel.Channels.StreamUpgradeInitiator
type StreamSecurityUpgradeInitiator = class
    inherit StreamUpgradeInitiator
Public MustInherit Class StreamSecurityUpgradeInitiator
Inherits StreamUpgradeInitiator
继承
StreamSecurityUpgradeInitiator

注解

此类同 StreamSecurityUpgradeAcceptorStreamSecurityUpgradeProvider 一起用于实现自定义流升级。

有关升级过程的详细说明,请参见 StreamUpgradeProvider

构造函数

StreamSecurityUpgradeInitiator()

初始化 StreamSecurityUpgradeInitiator 类的新实例。

方法

BeginInitiateUpgrade(Stream, AsyncCallback, Object)

可实现此 abstract 方法以进行发起升级的异步处理。

(继承自 StreamUpgradeInitiator)
EndInitiateUpgrade(IAsyncResult)

此方法是在 BeginInitiateUpgrade(Stream, AsyncCallback, Object) 完成后调用的异步回调方法。

(继承自 StreamUpgradeInitiator)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetNextUpgrade()

返回要执行的下一个升级的内容类型。

(继承自 StreamUpgradeInitiator)
GetRemoteSecurity()

获取流上提供的安全消息属性,用于基于安全上下文中提供的信息执行自定义安全协商。

GetType()

获取当前实例的 Type

(继承自 Object)
InitiateUpgrade(Stream)

通过请求流连接的另一端升级通道传输层,启动流的升级。

(继承自 StreamUpgradeInitiator)
InitiateUpgradeAsync(Stream)

若要实现安全升级发起方,请从此 abstract 基类继承。

(继承自 StreamUpgradeInitiator)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅