SecureConversationSecurityTokenParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SecureConversationSecurityTokenParameters class.
Overloads
SecureConversationSecurityTokenParameters()
Initializes a new instance of the SecureConversationSecurityTokenParameters class.
public:
SecureConversationSecurityTokenParameters();
public SecureConversationSecurityTokenParameters ();
Public Sub New ()
Remarks
The new instance property values are set to their defaults:
InclusionMode is set to AlwaysToRecipient.
ReferenceStyle is set to Internal.
RequireDerivedKeys is set to
true
.
Applies to
SecureConversationSecurityTokenParameters(SecurityBindingElement)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from the properties of a specified 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)
Parameters
- bootstrapSecurityBindingElement
- SecurityBindingElement
The bootstrap security binding element.
Remarks
bootstrapSecurityBindingElement
specifies the security binding element to use when securing the messages exchanged as part of the secure conversation token issuance.
Applies to
SecureConversationSecurityTokenParameters(SecureConversationSecurityTokenParameters)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from another instance of this class.
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)
Parameters
The other instance of this class.
Remarks
This constructor clones a new instance from an existing one.
Applies to
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from the properties of a specified 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)
Parameters
- bootstrapSecurityBindingElement
- SecurityBindingElement
The bootstrap security binding element.
- requireCancellation
- Boolean
true
to require cancellation; otherwise, false
.
Remarks
bootstrapSecurityBindingElement
specifies the security binding element to use when securing the messages exchanged as part of the secure conversation token issuance. If requireCancellation
is true
, a session-based security context token is issued; otherwise, a cookie-based security context token is issued.
Applies to
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, Boolean)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from the properties of a specified 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)
Parameters
- bootstrapSecurityBindingElement
- SecurityBindingElement
A security binding element object that secures the message exchanged as part of the secure conversation token issuance.
- requireCancellation
- Boolean
true
to require cancellation; otherwise, false
.
- canRenewSession
- Boolean
true
to indicate that the communications session can be renewed; otherwise, false
.
Applies to
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, ChannelProtectionRequirements)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from the properties of a specified SecurityBindingElement with specified 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)
Parameters
- bootstrapSecurityBindingElement
- SecurityBindingElement
The bootstrap security binding element.
- requireCancellation
- Boolean
true
to require cancellation; otherwise, false
.
- bootstrapProtectionRequirements
- ChannelProtectionRequirements
The bootstrap protection requirements.
Remarks
bootstrapSecurityBindingElement
specifies the security binding element to use when securing the messages exchanged as part of the secure conversation token issuance. If requireCancellation
is true
, a session-based security context token is issued; otherwise, a cookie-based security context token is issued.
bootstrapProtectionRequirements
indicates the protection requirements of the messages exchanged as part of the secure conversation token issuance.
Applies to
SecureConversationSecurityTokenParameters(SecurityBindingElement, Boolean, Boolean, ChannelProtectionRequirements)
Initializes a new instance of the SecureConversationSecurityTokenParameters class from the properties of a specified SecurityBindingElement with specified 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)
Parameters
- bootstrapSecurityBindingElement
- SecurityBindingElement
A security binding element object that secures the message exchanged as part of the secure conversation token issuance.
- requireCancellation
- Boolean
true
to require cancellation; otherwise, false
.
- canRenewSession
- Boolean
true
to indicate that the communications session can be renewed; otherwise, false
.
- bootstrapProtectionRequirements
- ChannelProtectionRequirements
The channel protection requirements.