Click or drag to resize

CommandLineArgumentException.GetObjectData Method

Sets the SerializationInfo object with the parameter name and additional exception information.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

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

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
ArgumentNullExceptioninfo is null.
See Also