Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / Packager Class / SendToFile Method / SendToFile(Predicate<ISessionSummary>,Boolean,String,Boolean) Method
A delegate to evaluate sessions and determine which ones to send.
True to have every included session marked as read upon successful completion.
The file name and path to write the final package to
True to have the package and send process run asynchronously.

SendToFile(Predicate<ISessionSummary>,Boolean,String,Boolean) Method
Write the completed package to the provided full file name and path without extension.
Syntax
'Declaration
 
Public Overloads Sub SendToFile( _
   ByVal sessionMatchPredicate As Predicate(Of ISessionSummary), _
   ByVal markAsRead As Boolean, _
   ByVal fullFileNamePath As String, _
   ByVal asyncSend As Boolean _
) 
 

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.
fullFileNamePath
The file name and path to write the final package to
asyncSend
True to have the package and send process run asynchronously.
Exceptions
ExceptionDescription
A required parameter was null.
The provided file information is not a fully qualified file name and path.
Remarks
The EndSend event will be raised when the send operation completes. Any provided extension will be removed and replaced with the standard Gibraltar package extension.
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