Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHPacketIOManager Class / WaitForPackets Method


In This Topic
    WaitForPackets Method
    In This Topic
    Syntax
    'Declaration
     
    Protected Overridable Function WaitForPackets( _
       ByVal timeout As Integer, _
       ByVal cancelWait As WaitHandle, _
       ByVal trace As Boolean, _
       ByVal packetSelector As SSHPacketIOManager.PacketSelector _
    ) As Boolean
    'Usage
     
    Dim instance As SSHPacketIOManager
    Dim timeout As Integer
    Dim cancelWait As WaitHandle
    Dim trace As Boolean
    Dim packetSelector As SSHPacketIOManager.PacketSelector
    Dim value As Boolean
     
    value = instance.WaitForPackets(timeout, cancelWait, trace, packetSelector)
    protected virtual bool WaitForPackets( 
       int timeout,
       WaitHandle cancelWait,
       bool trace,
       SSHPacketIOManager.PacketSelector packetSelector
    )

    Parameters

    timeout
    cancelWait
    trace
    packetSelector
    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