InvalidEnumArgumentException Constructor (SerializationInfo, StreamingContext)

 

Initializes a new instance of the InvalidEnumArgumentException class using the specified serialization data and context.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

protected InvalidEnumArgumentException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to be used for deserialization.

context
Type: System.Runtime.Serialization.StreamingContext

The destination to be used for deserialization.

.NET Framework
Available since 2.0
Return to top
Show: