CustomException Constructor (SerializationInfo, StreamingContext)

Sandcastle XML Comments

Sandcastle XML Comments GuideCustomException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.

Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
protected CustomException(
	SerializationInfo info,
	StreamingContext context
)
Protected Sub New ( 
	info As SerializationInfo,
	context As StreamingContext
)
protected:
CustomException(
	SerializationInfo^ info, 
	StreamingContext context
)
new : 
        info : SerializationInfo * 
        context : StreamingContext -> CustomException

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe info parameter is null.
SerializationExceptionThe class name is null or HResult is zero (0).
See Also