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

Namespace: Elysium
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
protected InvalidStyleException(
	SerializationInfo info,
	StreamingContext context
)
Visual Basic
Protected Sub New ( 
	info As SerializationInfo,
	context As StreamingContext
)

Parameters

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

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe info parameter is null.
System.Runtime.Serialization..::..SerializationExceptionThe class name is null or HResult is zero (0).

See Also