Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / SessionCollection Class / Add Method / Add(Stream) Method
A file stream of a GLF File to read (may always be disposed by caller upon return).

In This Topic
    Add(Stream) Method
    In This Topic
    Add a session from the provided GLF File Stream
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal fileStream As Stream _
    ) As Session
    public Session Add( 
       Stream fileStream
    )

    Parameters

    fileStream
    A file stream of a GLF File to read (may always be disposed by caller upon return).

    Return Value

    The session object that was affected
    Remarks
    The stream will be copied immediately and its Position will be restored before returning, so the caller is responsible for eventually disposing it. Use the other overload to pass a stream which is no longer needed by the caller.
    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