Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / WaitForIncomingData Method / WaitForIncomingData(Int32,Boolean) Method
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
Specifies whether the keyboard should be enabled while the call is executing.


In This Topic
    WaitForIncomingData(Int32,Boolean) Method
    In This Topic
    Waits for any data to come from the host.
    Syntax
    'Declaration
     
    
    Overloads Function WaitForIncomingData( _
       ByVal timeout As Integer, _
       ByVal enablekeyboard As Boolean _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IScreen
    Dim timeout As Integer
    Dim enablekeyboard As Boolean
    Dim value As ReturnCode
     
    value = instance.WaitForIncomingData(timeout, enablekeyboard)
    ReturnCode WaitForIncomingData( 
       int timeout,
       bool enablekeyboard
    )

    Parameters

    timeout
    wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
    enablekeyboard
    Specifies whether the keyboard should be enabled while the call is executing.

    Return Value

    ReturnCode indicating success/failure/status
    See Also