ValidationException.

ValidationException(SerializationInfo, StreamingContext) Constructor

Summary

Initializes a new instance of the NAnt.Core.ValidationException class with serialized data.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
ValidationException

Syntax

protected ValidationException(SerializationInfo info, StreamingContext context)

Parameters

Name Type Description
info SerializationInfo The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context StreamingContext The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

Return Value

Type Description
void