Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / Packager Class / SendToServer Method / SendToServer(Predicate<ISessionSummary>,Boolean,Boolean,Boolean,ServerConfiguration) Method
A delegate to evaluate sessions and determine which ones to send.
True to have every included session marked as read upon successful completion.
True to have every included session removed from the local repository upon successful completion.
True to have the package and send process run asynchronously.
Optional. The connection options to use instead of the current configured server connection

SendToServer(Predicate<ISessionSummary>,Boolean,Boolean,Boolean,ServerConfiguration) Method
Send the specified packages to our session data server as configured
Syntax

Parameters

sessionMatchPredicate
A delegate to evaluate sessions and determine which ones to send.
markAsRead
True to have every included session marked as read upon successful completion.
purgeSentSessions
True to have every included session removed from the local repository upon successful completion.
asyncSend
True to have the package and send process run asynchronously.
serverConfiguration
Optional. The connection options to use instead of the current configured server connection

Return Value

The Package Send Event Arguments object that was also used for the EndSend event.
Exceptions
ExceptionDescription
The server couldn't be contacted or there was a communication error.
The server configuration specified is invalid.
Remarks
The EndSend event will be raised when the send operation completes.
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