共用方式為


Saml2AudienceRestriction Constructors

Definition

Overloads

Saml2AudienceRestriction(IEnumerable<String>)

Creates an instance of Saml2AudienceRestriction.

Saml2AudienceRestriction(String)

Creates an instance of Saml2AudienceRestriction.

Saml2AudienceRestriction(IEnumerable<String>)

Creates an instance of Saml2AudienceRestriction.

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

Parameters

audiences
IEnumerable<String>

The collection of audience elements contained in this restriction.

Exceptions

if audiences is null.

Applies to

Saml2AudienceRestriction(String)

Creates an instance of Saml2AudienceRestriction.

public Saml2AudienceRestriction (string audience);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2AudienceRestriction : string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AudienceRestriction
Public Sub New (audience As String)

Parameters

audience
String

The audience element contained in this restriction.

Exceptions

if audience is null or empty.

Applies to