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


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

   ByVal actualPacketID As Byte, _

   ByVal expectedPacketID As Byte _

)
'Usage
 
Dim actualPacketID As Byte

Dim expectedPacketID As Byte

 

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

   byte actualPacketID,

   byte expectedPacketID

)

Parameters

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