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


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > UnknownPacketIDException Class > UnknownPacketIDException Constructor : UnknownPacketIDException Constructor(String,Byte)
A string representing the exception's message.
A byte representing the actual packet ID.

Initializes a new instance of the UnknownPacketIDException

Syntax
'Declaration
 
Public Function New( _

   ByVal message As String, _

   ByVal actualPacketID As Byte _

)
'Usage
 
Dim message As String

Dim actualPacketID As Byte

 

Dim instance As New UnknownPacketIDException(message, actualPacketID)
public UnknownPacketIDException( 

   string message,

   byte actualPacketID

)

Parameters

message
A string representing the exception's message.
actualPacketID
A byte representing the actual 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

UnknownPacketIDException Class
UnknownPacketIDException Members
Overload List