CommandLineArgumentException(SerializationInfo, StreamingContext) Constructor

Note: This API is now obsolete.
Initializes a new instance of the CommandLineArgumentException class with serialized data.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
[ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
protected CommandLineArgumentException(
	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

ArgumentNullExceptioninfo is .
SerializationExceptionThe class name is or HResult is zero (0).

See Also