Xceed .NET Libraries Documentation
ReceivePayload<PayloadType>(SSHPacketIOManager,Int32,Boolean,WaitHandle) Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHConnectionProtocolChannel Class > ReceivePayload Method : ReceivePayload<PayloadType>(SSHPacketIOManager,Int32,Boolean,WaitHandle) Method
Syntax
'Declaration
 
Public Overloads Function ReceivePayload(Of PayloadType As {New, SSHPacketPayload})( _
   ByVal packetIOManager As SSHPacketIOManager, _
   ByVal timeout As Integer, _
   ByVal trace As Boolean, _
   ByVal cancelReceive As WaitHandle _
) As PayloadType
'Usage
 
Dim instance As SSHConnectionProtocolChannel
Dim packetIOManager As SSHPacketIOManager
Dim timeout As Integer
Dim trace As Boolean
Dim cancelReceive As WaitHandle
Dim value As PayloadType
 
value = instance.ReceivePayload(Of PayloadType)(packetIOManager, timeout, trace, cancelReceive)
public PayloadType ReceivePayload<PayloadType>( 
   SSHPacketIOManager packetIOManager,
   int timeout,
   bool trace,
   WaitHandle cancelReceive
)
where PayloadType: new(), SSHPacketPayload

Parameters

packetIOManager
timeout
trace
cancelReceive

Type Parameters

PayloadType
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

SSHConnectionProtocolChannel Class
SSHConnectionProtocolChannel Members
Overload List