Saml2AudienceRestriction Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.