| DAVClientPollFolderForChanges Method  | 
Polls a dav folder for changes and returns when it either expires or there is a change
 
 
Namespace: ARPDev.DAVLIBAssembly: ARPDev.DAVLIB (in ARPDev.DAVLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic DAVPollState PollFolderForChanges(
	ref DAVContainer DAVFolder,
	ref bool bKeepListening,
	DAVContainerType _DAVFolderType,
	int intervalInMilliSeconds,
	int expirationInSeconds
)
Public Function PollFolderForChanges ( 
	ByRef DAVFolder As DAVContainer,
	ByRef bKeepListening As Boolean,
	_DAVFolderType As DAVContainerType,
	intervalInMilliSeconds As Integer,
	expirationInSeconds As Integer
) As DAVPollState
public:
DAVPollState PollFolderForChanges(
	DAVContainer^% DAVFolder, 
	bool% bKeepListening, 
	DAVContainerType _DAVFolderType, 
	int intervalInMilliSeconds, 
	int expirationInSeconds
)
member PollFolderForChanges : 
        DAVFolder : DAVContainer byref * 
        bKeepListening : bool byref * 
        _DAVFolderType : DAVContainerType * 
        intervalInMilliSeconds : int * 
        expirationInSeconds : int -> DAVPollState 
Parameters
- DAVFolder
 - Type: ARPDev.DAVLIBDAVContainer
DAVContainer to monitor - bKeepListening
 - Type: SystemBoolean
variable to denote whether to listen or not (passed by reference so it can be cancelled) - _DAVFolderType
 - Type: ARPDev.DAVLIBDAVContainerType
Type of Folder to monitor - intervalInMilliSeconds
 - Type: SystemInt32
Number of milliseconds to wait between successive change tests/polls - expirationInSeconds
 - Type: SystemInt32
number of seconds that this request should wait before expiring 
Return Value
Type: 
DAVPollStatePollState value indicating whether or not a change occured, an error, or it expired
Remarks
See Also