Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LocalRepository Class / AddSession Method
A stream of the session data (full file or fragment) to add

In This Topic
    AddSession Method (LocalRepository)
    In This Topic
    Add a session (full file stream or fragment of a session) to the repository
    Syntax
    'Declaration
     
    
    Public Function AddSession( _
       ByVal sessionStream As Stream _
    ) As Boolean
    public bool AddSession( 
       Stream sessionStream
    )

    Parameters

    sessionStream
    A stream of the session data (full file or fragment) to add

    Return Value

    True if the session was added, false if it already existed
    Remarks

    If the session already exists in the repository its information will be merged with the provided session and the result saved in the repository

    If the stream is to a session file fragment then it will either be added to the set of fragments (if it doesn't exist) or ignored (if it does).

    The stream will be disposed of by the repository, potentially some time after the call is completed. It must remain valid and unmodified for that time to ensure that the session can be processed correctly and efficiently.

    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