Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor.Serialization Namespace / GLFWriter Class / GLFWriter Constructor / GLFWriter Constructor(Stream,SessionSummary,Int32,Nullable<DateTimeOffset>,Int32,Int32)
The file stream to write the session file into (should be empty)
Used during initial collection to indicate the real time this file became the active file.
Major version of the serialization protocol
Minor version of the serialization protocol

In This Topic
    GLFWriter Constructor(Stream,SessionSummary,Int32,Nullable<DateTimeOffset>,Int32,Int32)
    In This Topic
    Initialize the GLF writer for storing information about the current live session
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal file As Stream, _
       ByVal sessionSummary As SessionSummary, _
       ByVal fileSequence As Integer, _
       ByVal fileStartTime As Nullable(Of DateTimeOffset), _
       ByVal majorVersion As Integer, _
       ByVal minorVersion As Integer _
    )

    Parameters

    file
    The file stream to write the session file into (should be empty)
    sessionSummary
    fileSequence
    fileStartTime
    Used during initial collection to indicate the real time this file became the active file.
    majorVersion
    Major version of the serialization protocol
    minorVersion
    Minor version of the serialization protocol
    Remarks
    The file header is configured with a copy of the session summary, assuming that we're about to make a copy of the session. For live data collection the caller should supply the file start time to reflect the true time period covered by this file.
    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