Translate page

ISession_WaitForUpdate Method

Waits for a specified amount of time, or until the host presentation space changes.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
StatusCode WaitForUpdate(
	Object sessionID,
	int seconds
)
Visual Basic (Declaration)
Function WaitForUpdate ( _
	sessionID As Object, _
	seconds As Integer _
) As StatusCode
Visual C++
StatusCode WaitForUpdate(
	Object^ sessionID, 
	int seconds
)
JavaScript
function WaitForUpdate(sessionID, seconds);


Parameters

sessionID
Type: System..Object
One character session ID identifying the host session you want to wait for.

seconds
Type: System..Int32
Amount of time in seconds to wait for the host presentation space to change.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
WHLLOKThe wait time specified in seconds has expired without a change in the presentation space.
WHLLSYSERRORThe method failed due to a system error. Any time results are unpredictable.
WHLLPSCHANGEDThe OIA and/or presentation space of the host session has been updated.


See Also


ISession Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.