Edit

Share via


SamlAction Constructors

Definition

Initializes a new instance of the SamlAction class.

Overloads

SamlAction()

Initializes a new instance of the SamlAction class.

SamlAction(String)

Initializes a new instance of the SamlAction class using the specified action.

SamlAction(String, String)

Initializes a new instance of the SamlAction class using the specified action.

SamlAction()

Initializes a new instance of the SamlAction class.

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

Remarks

When using this constructor, to specify the desired namespace for a SamlAction statement set the Namespace property. To specify the desired action, set the Action property.

Applies to

SamlAction(String)

Initializes a new instance of the SamlAction class using the specified action.

public:
 SamlAction(System::String ^ action);
public SamlAction (string action);
new System.IdentityModel.Tokens.SamlAction : string -> System.IdentityModel.Tokens.SamlAction
Public Sub New (action As String)

Parameters

action
String

The action that the subject of the SamlAuthorizationDecisionStatement security token seeks to perform on the specified resource.

Exceptions

action is null.

-or-

action is Empty.

Remarks

The action parameter sets the Action property.

Applies to

SamlAction(String, String)

Initializes a new instance of the SamlAction class using the specified action.

public:
 SamlAction(System::String ^ action, System::String ^ ns);
public SamlAction (string action, string ns);
new System.IdentityModel.Tokens.SamlAction : string * string -> System.IdentityModel.Tokens.SamlAction
Public Sub New (action As String, ns As String)

Parameters

action
String

The action that the subject of the SamlAuthorizationDecisionStatement security token seeks to perform on the specified resource.

ns
String

The XML namespace in which the action parameter is defined.

Exceptions

action is null.

-or-

action is Empty.

Remarks

The action parameter sets the Action property.

The ns parameter sets the Namespace property.

Applies to