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


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

Parameters

packetIOManager
timeout
throwTimeoutException
cancelReceive
trace

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