Xceed .NET Libraries Documentation
ReceivePayload(Predicate<SSHPacketPayload>,Int32,Boolean,WaitHandle,Boolean,Type[]) Method


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > SSHPacketIOManager Class > ReceivePayload Method : ReceivePayload(Predicate<SSHPacketPayload>,Int32,Boolean,WaitHandle,Boolean,Type[]) Method
Syntax
'Declaration
 
Public Overloads Overridable Function ReceivePayload( _

   ByVal match As Predicate(Of SSHPacketPayload), _

   ByVal timeout As Integer, _

   ByVal throwTimeoutException As Boolean, _

   ByVal cancelReceive As WaitHandle, _

   ByVal trace As Boolean, _

   ByVal ParamArray payloadTypes() As Type _

) As SSHPacketPayload
'Usage
 
Dim instance As SSHPacketIOManager

Dim match As Predicate(Of SSHPacketPayload)

Dim timeout As Integer

Dim throwTimeoutException As Boolean

Dim cancelReceive As WaitHandle

Dim trace As Boolean

Dim payloadTypes() As Type

Dim value As SSHPacketPayload

 

value = instance.ReceivePayload(match, timeout, throwTimeoutException, cancelReceive, trace, payloadTypes)
public virtual SSHPacketPayload ReceivePayload( 

   Predicate<SSHPacketPayload> match,

   int timeout,

   bool throwTimeoutException,

   WaitHandle cancelReceive,

   bool trace,

   params Type[] payloadTypes

)

Parameters

match
timeout
throwTimeoutException
cancelReceive
trace
payloadTypes
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