CommandLineArgumentException(SerializationInfo, StreamingContext) Constructor

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

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
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