When overridden in a derived class, sets the
SerializationInfo with information about the exception.
Namespace: Renci.SshNet.CommonAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public override void GetObjectData( SerializationInfo info, StreamingContext context )
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.
Implements
Exceptions
| Exception | Condition |
|---|---|
| The info parameter is a null reference (Nothing in Visual Basic). |
See Also