ISecuritySession 接口

定义

表示一种 ISession,它强制在会话中交换的所有消息的要求介于建立该会话的相同通信方之间。Represents a kind of ISession that enforces the requirement that all messages exchanged on the session are between the same communicating parties that established the session.

public interface class ISecuritySession : System::ServiceModel::Channels::ISession
public interface ISecuritySession : System.ServiceModel.Channels.ISession
type ISecuritySession = interface
    interface ISession
Public Interface ISecuritySession
Implements ISession
派生
实现

注解

ISecuritySession 实例由消息安全通道(使用 WS-SecureConversation)以及 TCP 安全传输通道提供。ISecuritySession instances are provided by message security channels (which use WS-SecureConversation) and by TCP secure transport channels.

属性

Id

获取用于唯一标识会话的 ID。Gets the ID that uniquely identifies the session.

(继承自 ISession)
RemoteIdentity

获取远程主体的标识。Gets the identity of the remote principal.

适用于