//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- namespace System.IdentityModel { using System; using System.Runtime.Serialization; /// /// This class defines the exception thrown when a configured limit or quota is exceeded. /// [Serializable] public class LimitExceededException : SystemException { /// /// Initializes a new instance of . /// public LimitExceededException() : base() { } /// /// Initializes a new instance of . /// /// The message describes what was causing the exception. public LimitExceededException(string message) : base(message) { } /// /// Initializes a new instance of . /// /// The message describes what was causing the exception. /// The inner exception indicates the real reason the exception was thrown. public LimitExceededException(string message, Exception innerException) : base(message, innerException) { } /// /// Initializes a new instance of . /// /// The that holds the serialized object data about the exception being thrown. /// The . that contains contextual information about the source or destination. protected LimitExceededException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }