Saml2AudienceRestriction Constructors

Definition

Initializes a new instance of the Saml2AudienceRestriction class.

Overloads

Saml2AudienceRestriction()

Initializes a new instance of the Saml2AudienceRestriction class with no Audience elements.

Saml2AudienceRestriction(IEnumerable<Uri>)

Initializes a new instance of the Saml2AudienceRestriction class with the specified URIs.

Saml2AudienceRestriction(Uri)

Initializes a new instance of the Saml2AudienceRestriction class.

Saml2AudienceRestriction()

Initializes a new instance of the Saml2AudienceRestriction class with no Audience elements.

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

Remarks

The Audiences property is initialized to an empty collection.

Applies to

Saml2AudienceRestriction(IEnumerable<Uri>)

Initializes a new instance of the Saml2AudienceRestriction class with the specified URIs.

public:
 Saml2AudienceRestriction(System::Collections::Generic::IEnumerable<Uri ^> ^ audiences);
public Saml2AudienceRestriction (System.Collections.Generic.IEnumerable<Uri> audiences);
new System.IdentityModel.Tokens.Saml2AudienceRestriction : seq<Uri> -> System.IdentityModel.Tokens.Saml2AudienceRestriction
Public Sub New (audiences As IEnumerable(Of Uri))

Parameters

audiences
IEnumerable<Uri>

The collection of Uri that contains the Audience elements contained in this restriction.

Remarks

The Audiences collection is initialized using the elements of the specified collection.

Applies to

Saml2AudienceRestriction(Uri)

Initializes a new instance of the Saml2AudienceRestriction class.

public:
 Saml2AudienceRestriction(Uri ^ audience);
public Saml2AudienceRestriction (Uri audience);
new System.IdentityModel.Tokens.Saml2AudienceRestriction : Uri -> System.IdentityModel.Tokens.Saml2AudienceRestriction
Public Sub New (audience As Uri)

Parameters

audience
Uri

A Uri that represents the contents of the Audience element contained in this restriction.

Remarks

The Audiences collection is initialized with the specified Audience element.

Applies to