Xceed .NET Libraries Documentation
AddPacketPayloadType<T>(Byte,PacketHandlerDelegate,Byte) Method


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > SSHPacketIOManager Class > AddPacketPayloadType Method : AddPacketPayloadType<T>(Byte,PacketHandlerDelegate,Byte) Method
Syntax
'Declaration
 
Public Overloads Sub AddPacketPayloadType(Of T As SSHPacketPayload)( _

   ByVal id As Byte, _

   ByVal packetHandler As PacketHandlerDelegate, _

   ByVal priority As Byte _

) 
'Usage
 
Dim instance As SSHPacketIOManager

Dim id As Byte

Dim packetHandler As PacketHandlerDelegate

Dim priority As Byte

 

instance.AddPacketPayloadType(Of T)(id, packetHandler, priority)
public void AddPacketPayloadType<T>( 

   byte id,

   PacketHandlerDelegate packetHandler,

   byte priority

)

where T: SSHPacketPayload

Parameters

id
packetHandler
priority

Type Parameters

T
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

SSHPacketIOManager Class
SSHPacketIOManager Members
Overload List