Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LocalRepository Class / GetSession Method
The unique Id of the session to be loaded.
Optional. The unique ids of the files to load

In This Topic
    GetSession Method (LocalRepository)
    In This Topic
    Load a session by its Id
    Syntax
    'Declaration
     
    
    Public Function GetSession( _
       ByVal sessionId As Guid, _
       Optional ByVal fragmentIds() As Guid _
    ) As Session
    public Session GetSession( 
       Guid sessionId,
       Guid[] fragmentIds
    )

    Parameters

    sessionId
    The unique Id of the session to be loaded.
    fragmentIds
    Optional. The unique ids of the files to load

    Return Value

    A session object representing the specified session. If no session can be found with the provided Id an exception will be thrown.
    Exceptions
    ExceptionDescription
    Thrown if no session exists with the specified Id
    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