CustomException(SerializationInfo, StreamingContext) Constructor
Initializes a new instance of the
Exception class with serialized data.
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
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 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.