CustomException(SerializationInfo, StreamingContext) Constructor

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

Definition

Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
protected CustomException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

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

Exceptions

ArgumentNullExceptionThe info parameter is .
SerializationExceptionThe class name is or HResult is zero (0).

See Also