uaPLUS Reference
onGetRefreshNeed Method
See Also  Send Feedback
Advosol.uaPLUS Namespace > uaPLUS Class : onGetRefreshNeed Method

mode

Controls how the refresh need is terminated.
0: return all items with exeeded maxAge
1: return only items with activeCount>0 and exceeded maxAge (NOT YET SUPPORTED)

maxAge
Age in ms to require a refresh
appItemHandles
The handles of the items that need refresh.

Glossary Item Box

Get a list of items that need to be refreshed. The current implementation compares only the maxAge argument.

Syntax

Visual Basic (Declaration) 
Public Function onGetRefreshNeed( _
   ByVal mode As Integer, _
   ByVal maxAge As Integer, _
   ByRef appItemHandles As List(Of Integer) _
) As Integer
C# 
public int onGetRefreshNeed( 
   int mode,
   int maxAge,
   out List<int> appItemHandles
)

Parameters

mode

Controls how the refresh need is terminated.
0: return all items with exeeded maxAge
1: return only items with activeCount>0 and exceeded maxAge (NOT YET SUPPORTED)

maxAge
Age in ms to require a refresh
appItemHandles
The handles of the items that need refresh.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.