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 ();

Remarks

The Audiences property is initialized to an empty collection.

Applies to

.NET Framework 4.8.1 ja muud versioonid
Toode Versioonid
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Saml2AudienceRestriction(IEnumerable<Uri>)

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

public Saml2AudienceRestriction (System.Collections.Generic.IEnumerable<Uri> audiences);

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

.NET Framework 4.8.1 ja muud versioonid
Toode Versioonid
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Saml2AudienceRestriction(Uri)

Initializes a new instance of the Saml2AudienceRestriction class.

public Saml2AudienceRestriction (Uri audience);

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

.NET Framework 4.8.1 ja muud versioonid
Toode Versioonid
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1