SshException GetObjectData Method SSH .NET Client Library Documentation
When overridden in a derived class, sets the OnlineSerializationInfo with information about the exception.

Namespace: Renci.SshNet.Common
Assembly: 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: OnlineSystem.Runtime.Serialization SerializationInfo
The OnlineSerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: OnlineSystem.Runtime.Serialization StreamingContext
The OnlineStreamingContext that contains contextual information about the source or destination.

Implements

OnlineISerializable GetObjectData(SerializationInfo, StreamingContext)
Online_Exception GetObjectData(SerializationInfo, StreamingContext)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionThe info parameter is a null reference (Nothing in Visual Basic).
See Also