C# Class NAnt.Core.BuildException

Inheritance: System.ApplicationException
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
BuildException ( ) : System

Initializes a new instance of the BuildException class.

BuildException ( String message ) : System

Initializes a new instance of the BuildException class with a descriptive message.

BuildException ( String message, Exception innerException ) : System

Initializes a new instance of the BuildException class with the specified descriptive message and inner exception.

BuildException ( String message, Location location ) : System

Initializes a new instance of the BuildException class with a descriptive message and the location in the build file that caused the exception.

BuildException ( String message, Location location, Exception innerException ) : System

Initializes a new instance of the BuildException class with a descriptive message, the location in the build file and an instance of the exception that is the cause of the current exception.

ToString ( ) : string

Creates and returns a string representation of the current exception.

Méthodes protégées

Méthode Description
BuildException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the BuildException class with serialized data.

Private Methods

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

BuildException() public méthode

Initializes a new instance of the BuildException class.
public BuildException ( ) : System
Résultat System

BuildException() protected méthode

Initializes a new instance of the BuildException class with serialized data.
protected BuildException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
Résultat System

BuildException() public méthode

Initializes a new instance of the BuildException class with a descriptive message.
public BuildException ( String message ) : System
message String A descriptive message to include with the exception.
Résultat System

BuildException() public méthode

Initializes a new instance of the BuildException class with the specified descriptive message and inner exception.
public BuildException ( String message, Exception innerException ) : System
message String A descriptive message to include with the exception.
innerException System.Exception A nested exception that is the cause of the current exception.
Résultat System

BuildException() public méthode

Initializes a new instance of the BuildException class with a descriptive message and the location in the build file that caused the exception.
public BuildException ( String message, Location location ) : System
message String A descriptive message to include with the exception.
location Location The location in the build file where the exception occured.
Résultat System

BuildException() public méthode

Initializes a new instance of the BuildException class with a descriptive message, the location in the build file and an instance of the exception that is the cause of the current exception.
public BuildException ( String message, Location location, Exception innerException ) : System
message String A descriptive message to include with the exception.
location Location The location in the build file where the exception occured.
innerException System.Exception A nested exception that is the cause of the current exception.
Résultat System

ToString() public méthode

Creates and returns a string representation of the current exception.
public ToString ( ) : string
Résultat string