class AggregateException

in global :: System

Represents one or more errors that occur during application execution.


public AggregateException( Exception[] innerExceptions )

Initializes a new instance of the class with references to the inner exceptions that are the cause of this exception.

  • innerExceptions The exceptions that are the cause of the current exception.

public AggregateException( string message )

Initializes a new instance of the class with a specified message that describes the error.

  • message The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

public AggregateException( string message, Exception innerException )

Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.

  • message The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
  • innerException The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.

public AggregateException( string message, Exception[] innerExceptions )

Initializes a new instance of the class with a specified error message and references to the inner exceptions that are the cause of this exception.

  • message The error message that explains the reason for the exception.
  • innerExceptions The exceptions that are the cause of the current exception.

public void GetObjectData( SerializationInfo info, StreamingContext context )

Initializes a new instance of the class with serialized data.

  • info The object that holds the serialized object data.
  • context The contextual information about the source or destination.

public ReadOnlyCollection<Exception> InnerExceptions { get; }

Gets a read-only collection of the instances that caused the current exception.

  • Returns A read-only collection of the instances that caused the current exception.

public string Message { get; }

Gets a message that describes the exception.

  • Returns The message that describes the exception.

public Exception GetBaseException( )

😔 No documentation found.

public AggregateException( IEnumerable<Exception> innerExceptions )

😔 No documentation found.

public void Handle( Func<Exception,bool> predicate )

😔 No documentation found.

public AggregateException( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public AggregateException Flatten( )

😔 No documentation found.

public int HResult { get; set; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public AggregateException( string message, IEnumerable<Exception> innerExceptions )

😔 No documentation found.

public string Source { get; set; }

😔 No documentation found.

😔 No documentation found.

public Exception InnerException { get; }

😔 No documentation found.

public IDictionary Data { get; }

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public string StackTrace { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.