SecureConversationSecurityTokenParameters 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SecureConversationSecurityTokenParameters 类的新实例。
重载
SecureConversationSecurityTokenParameters()
初始化 SecureConversationSecurityTokenParameters 类的新实例。
public:
SecureConversationSecurityTokenParameters();
public SecureConversationSecurityTokenParameters ();
Public Sub New ()
注解
将新实例属性值设置为各自的默认值:
将 InclusionMode 设置为 AlwaysToRecipient。
将 ReferenceStyle 设置为 Internal。
将 RequireDerivedKeys 设置为
true
。
适用于
SecureConversationSecurityTokenParameters(SecurityBindingElement)
从所指定 SecureConversationSecurityTokenParameters 的属性初始化 SecurityBindingElement 类的新实例。
public:
SecureConversationSecurityTokenParameters(System::ServiceModel::Channels::SecurityBindingElement ^ bootstrapSecurityBindingElement);
public SecureConversationSecurityTokenParameters (System.ServiceModel.Channels.SecurityBindingElement bootstrapSecurityBindingElement);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Channels.SecurityBindingElement -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Public Sub New (bootstrapSecurityBindingElement As SecurityBindingElement)
参数
- bootstrapSecurityBindingElement
- SecurityBindingElement
启动安全绑定元素。
注解
bootstrapSecurityBindingElement
指定要在对安全对话令牌颁发过程中交换的消息进行保护时使用的安全绑定元素。
适用于
SecureConversationSecurityTokenParameters(SecureConversationSecurityTokenParameters)
从 SecureConversationSecurityTokenParameters 类的一个实例初始化另一个新实例。
protected:
SecureConversationSecurityTokenParameters(System::ServiceModel::Security::Tokens::SecureConversationSecurityTokenParameters ^ other);
protected SecureConversationSecurityTokenParameters (System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters other);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Protected Sub New (other As SecureConversationSecurityTokenParameters)
参数
该类的其他实例。
注解
此构造函数会从现有实例克隆一个新实例。
适用于
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean)
从所指定 SecureConversationSecurityTokenParameters 的属性初始化 SecurityBindingElement 类的新实例。
public:
SecureConversationSecurityTokenParameters(System::ServiceModel::Channels::SecurityBindingElement ^ bootstrapSecurityBindingElement, bool requireCancellation);
public SecureConversationSecurityTokenParameters (System.ServiceModel.Channels.SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Channels.SecurityBindingElement * bool -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Public Sub New (bootstrapSecurityBindingElement As SecurityBindingElement, requireCancellation As Boolean)
参数
- bootstrapSecurityBindingElement
- SecurityBindingElement
启动安全绑定元素。
- requireCancellation
- Boolean
如果要求取消操作,则为 true
,否则为 false
。
注解
bootstrapSecurityBindingElement
指定要在对安全对话令牌颁发过程中交换的消息进行保护时使用的安全绑定元素。 如果 requireCancellation
为 true
,则颁发基于会话的安全上下文令牌;否则,颁发基于 Cookie 的安全上下文令牌。
适用于
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, Boolean)
从所指定 SecureConversationSecurityTokenParameters 的属性初始化 SecurityBindingElement 类的新实例。
public:
SecureConversationSecurityTokenParameters(System::ServiceModel::Channels::SecurityBindingElement ^ bootstrapSecurityBindingElement, bool requireCancellation, bool canRenewSession);
public SecureConversationSecurityTokenParameters (System.ServiceModel.Channels.SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation, bool canRenewSession);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Channels.SecurityBindingElement * bool * bool -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Public Sub New (bootstrapSecurityBindingElement As SecurityBindingElement, requireCancellation As Boolean, canRenewSession As Boolean)
参数
- bootstrapSecurityBindingElement
- SecurityBindingElement
在对安全对话令牌颁发过程中交换的消息进行保护时使用的安全绑定元素对象。
- requireCancellation
- Boolean
如果要求取消操作,则为 true
,否则为 false
。
- canRenewSession
- Boolean
如果可以续订通信会话,则为 true
;否则为 false
。
适用于
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, ChannelProtectionRequirements)
从所指定 SecureConversationSecurityTokenParameters(具有指定的 SecurityBindingElement)的属性初始化 ChannelProtectionRequirements 类的新实例。
public:
SecureConversationSecurityTokenParameters(System::ServiceModel::Channels::SecurityBindingElement ^ bootstrapSecurityBindingElement, bool requireCancellation, System::ServiceModel::Security::ChannelProtectionRequirements ^ bootstrapProtectionRequirements);
public SecureConversationSecurityTokenParameters (System.ServiceModel.Channels.SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation, System.ServiceModel.Security.ChannelProtectionRequirements bootstrapProtectionRequirements);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Channels.SecurityBindingElement * bool * System.ServiceModel.Security.ChannelProtectionRequirements -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Public Sub New (bootstrapSecurityBindingElement As SecurityBindingElement, requireCancellation As Boolean, bootstrapProtectionRequirements As ChannelProtectionRequirements)
参数
- bootstrapSecurityBindingElement
- SecurityBindingElement
启动安全绑定元素。
- requireCancellation
- Boolean
如果要求取消操作,则为 true
,否则为 false
。
- bootstrapProtectionRequirements
- ChannelProtectionRequirements
启动保护要求。
注解
bootstrapSecurityBindingElement
指定要在对安全对话令牌颁发过程中交换的消息进行保护时使用的安全绑定元素。 如果 requireCancellation
为 true
,则颁发基于会话的安全上下文令牌;否则,颁发基于 Cookie 的安全上下文令牌。
bootstrapProtectionRequirements
指示作为安全会话令牌颁发一部分交换的消息的保护要求。
适用于
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, Boolean, ChannelProtectionRequirements)
从所指定 SecureConversationSecurityTokenParameters(具有指定的 SecurityBindingElement)的属性初始化 ChannelProtectionRequirements 类的新实例。
public:
SecureConversationSecurityTokenParameters(System::ServiceModel::Channels::SecurityBindingElement ^ bootstrapSecurityBindingElement, bool requireCancellation, bool canRenewSession, System::ServiceModel::Security::ChannelProtectionRequirements ^ bootstrapProtectionRequirements);
public SecureConversationSecurityTokenParameters (System.ServiceModel.Channels.SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation, bool canRenewSession, System.ServiceModel.Security.ChannelProtectionRequirements bootstrapProtectionRequirements);
new System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters : System.ServiceModel.Channels.SecurityBindingElement * bool * bool * System.ServiceModel.Security.ChannelProtectionRequirements -> System.ServiceModel.Security.Tokens.SecureConversationSecurityTokenParameters
Public Sub New (bootstrapSecurityBindingElement As SecurityBindingElement, requireCancellation As Boolean, canRenewSession As Boolean, bootstrapProtectionRequirements As ChannelProtectionRequirements)
参数
- bootstrapSecurityBindingElement
- SecurityBindingElement
在对安全对话令牌颁发过程中交换的消息进行保护时使用的安全绑定元素对象。
- requireCancellation
- Boolean
如果要求取消操作,则为 true
,否则为 false
。
- canRenewSession
- Boolean
如果可以续订通信会话,则为 true
;否则为 false
。
- bootstrapProtectionRequirements
- ChannelProtectionRequirements
通道保护要求。