C# Класс NAnt.Core.ValidationException

Наследование: BuildException
Показать файл Открыть проект

Открытые методы

Метод Описание
ValidationException ( ) : System

Initializes a new instance of the ValidationException class.

ValidationException ( String message ) : System

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

ValidationException ( String message, Exception innerException ) : System

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

ValidationException ( String message, Location location ) : System

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

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

Initializes a new instance of the ValidationException 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.

Защищенные методы

Метод Описание
ValidationException ( SerializationInfo info, StreamingContext context ) : System

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

Описание методов

ValidationException() публичный Метод

Initializes a new instance of the ValidationException class.
public ValidationException ( ) : System
Результат System

ValidationException() защищенный Метод

Initializes a new instance of the ValidationException class with serialized data.
protected ValidationException ( 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.
Результат System

ValidationException() публичный Метод

Initializes a new instance of the ValidationException class with a descriptive message.
public ValidationException ( String message ) : System
message String A descriptive message to include with the exception.
Результат System

ValidationException() публичный Метод

Initializes a new instance of the ValidationException class with the specified descriptive message and inner exception.
public ValidationException ( 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.
Результат System

ValidationException() публичный Метод

Initializes a new instance of the ValidationException class with a descriptive message and the location in the build file that caused the exception.
public ValidationException ( 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.
Результат System

ValidationException() публичный Метод

Initializes a new instance of the ValidationException 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 ValidationException ( 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.
Результат System