//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace System.IdentityModel.Tokens { /// /// Throw this exception a received Security token failed Audience Uri validation. /// [Serializable] public class AudienceUriValidationFailedException : SecurityTokenValidationException { /// /// Initializes a new instance of /// public AudienceUriValidationFailedException() : base( SR.GetString( SR.ID4183 ) ) { } /// /// Initializes a new instance of /// public AudienceUriValidationFailedException( string message ) : base( message ) { } /// /// Initializes a new instance of /// public AudienceUriValidationFailedException( string message, Exception inner ) : base( message, inner ) { } /// /// Initializes a new instance of /// protected AudienceUriValidationFailedException( SerializationInfo info, StreamingContext context ) : base( info, context ) { } } }