NAnt SDK Documentation - v0.92

ValidationException Constructor (SerializationInfo, StreamingContext)

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

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected ValidationException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.

See Also

ValidationException Class | NAnt.Core Namespace | ValidationException Constructor Overload List