Translate page

Session.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#
public StatusCode WaitForUpdate(
	Object sessionID,
	int seconds
)
Visual Basic (Declaration)
Public Function WaitForUpdate ( _
	sessionID As Object, _
	seconds As Integer _
) As StatusCode
Visual C++
public:
virtual StatusCode WaitForUpdate(
	Object^ sessionID, 
	int seconds
) sealed
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.


Implements

ISession.WaitForUpdate(Object, Int32)

See Also


Session Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.