Gibraltar Loupe
SendSessionsAsync Method

The criteria to match for the sessions to send
Safely send sessions asynchronously to the hub or via email. Only one send request will be processed at a time.
Syntax
'Declaration
 
Public Shared Function SendSessionsAsync( _
   ByVal criteria As SessionCriteria _
) As Boolean
public static bool SendSessionsAsync( 
   SessionCriteria criteria
)

Parameters

criteria
The criteria to match for the sessions to send

Return Value

True if the send was processed, false if it was not due to configuration or another active send
Remarks

This method uses the same logic to determine how to transport data as SendSessionsOnExit. If a Gibraltar Hub connection is configured and the hub can be contacted it will be used. Otherwise if packaging via email is configured the package will be sent that way.

If there is no way to send the information (either due to configuration or the hub being unreachable) this method will return false. Otherwise the method will return once it starts the send process, which will complete asynchronously.

If another send attempt is currently being processed this method will complete immediately and return false. This prevents multiple simultaneous send attempts from consuming resources.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Log Class
Log Members

 

 


Copyright © 2008-2013 Gibraltar Software, Inc.

Send Feedback