'Declaration
<AsyncStateMachineAttribute(Gibraltar.Data.Packager/d__45)> Public Overloads Function SendToServer( _ ByVal sessions As SessionCriteria, _ ByVal markAsRead As Boolean, _ ByVal purgeSentSessions As Boolean, _ Optional ByVal serverConfiguration As ServerConfiguration, _ Optional ByVal progressMonitors As ProgressMonitorStack _ ) As Task(Of PackageSendEventArgs)
[AsyncStateMachine(Gibraltar.Data.Packager/d__45)] public Task<PackageSendEventArgs> SendToServer( SessionCriteria sessions, bool markAsRead, bool purgeSentSessions, ServerConfiguration serverConfiguration, ProgressMonitorStack progressMonitors )
Parameters
- sessions
- The set of match rules to apply to sessions to determine what 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.
- serverConfiguration
- Optional. The connection options to use instead of the current configured server connection
- progressMonitors
- Optional. The asynchronous progress monitoring stack.
Return Value
The Package Send Event Arguments object that was also used for the EndSend event.