Xceed .NET Libraries Documentation
InvalidPacketIDException Constructor(String,Byte,Byte)


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > InvalidPacketIDException Class > InvalidPacketIDException Constructor : InvalidPacketIDException Constructor(String,Byte,Byte)
The text of the exception's message.
The actual packet ID.
The expected packet ID.
Initializes a new instance of the InvalidPacketIDException class
Syntax
'Declaration
 
Public Function New( _

   ByVal message As String, _

   ByVal actualPacketID As Byte, _

   ByVal expectedPacketID As Byte _

)
'Usage
 
Dim message As String

Dim actualPacketID As Byte

Dim expectedPacketID As Byte

 

Dim instance As New InvalidPacketIDException(message, actualPacketID, expectedPacketID)
public InvalidPacketIDException( 

   string message,

   byte actualPacketID,

   byte expectedPacketID

)

Parameters

message
The text of the exception's message.
actualPacketID
The actual packet ID.
expectedPacketID
The expected packet ID.
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

Reference

InvalidPacketIDException Class
InvalidPacketIDException Members
Overload List