Redigera

Dela via


SymmetricSecurityBindingElement Constructors

Definition

Initializes a new instance of the SymmetricSecurityBindingElement class.

Overloads

SymmetricSecurityBindingElement()

Initializes a new instance of the SymmetricSecurityBindingElement class.

SymmetricSecurityBindingElement(SecurityTokenParameters)

Initializes a new instance of the SymmetricSecurityBindingElement class using specified security token parameters.

SymmetricSecurityBindingElement()

Initializes a new instance of the SymmetricSecurityBindingElement class.

public:
 SymmetricSecurityBindingElement();
public SymmetricSecurityBindingElement ();
Public Sub New ()

Examples

The following code shows how to use this constructor.

// Create a SymmetricSecurityBindingElement.
SymmetricSecurityBindingElement ssbe =
    new SymmetricSecurityBindingElement();

Applies to

SymmetricSecurityBindingElement(SecurityTokenParameters)

Initializes a new instance of the SymmetricSecurityBindingElement class using specified security token parameters.

public:
 SymmetricSecurityBindingElement(System::ServiceModel::Security::Tokens::SecurityTokenParameters ^ protectionTokenParameters);
public SymmetricSecurityBindingElement (System.ServiceModel.Security.Tokens.SecurityTokenParameters protectionTokenParameters);
new System.ServiceModel.Channels.SymmetricSecurityBindingElement : System.ServiceModel.Security.Tokens.SecurityTokenParameters -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Sub New (protectionTokenParameters As SecurityTokenParameters)

Parameters

protectionTokenParameters
SecurityTokenParameters

The SecurityTokenParameters.

Applies to