SecureConversationSecurityTokenParameters 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SecureConversationSecurityTokenParameters 類別的新執行個體。
多載
SecureConversationSecurityTokenParameters()
初始化 SecureConversationSecurityTokenParameters 類別的新執行個體。
public:
SecureConversationSecurityTokenParameters();
public SecureConversationSecurityTokenParameters ();
Public Sub New ()
備註
新執行個體的屬性值會設定為預設值:
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
通道保護需求。