Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHException Class / SSHException Constructor / SSHException Constructor(SerializationInfo,StreamingContext)
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.


In This Topic
    SSHException Constructor(SerializationInfo,StreamingContext)
    In This Topic
    Initializes a new instance of the SSHException class with serialized data.
    Syntax
    'Declaration
     
    Protected Function New( _
       ByVal info As SerializationInfo, _
       ByVal context As StreamingContext _
    )
    'Usage
     
    Dim info As SerializationInfo
    Dim context As StreamingContext
     
    Dim instance As New SSHException(info, context)
    protected SSHException( 
       SerializationInfo info,
       StreamingContext context
    )

    Parameters

    info
    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
    context
    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also