Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / LocalRepository Class / TryLoadSessionFileStream Method

In This Topic
    TryLoadSessionFileStream Method
    In This Topic
    Try to get a stream pointing to a live file
    Syntax
    'Declaration
     
    
    Public Function TryLoadSessionFileStream( _
       ByVal sessionId As Guid, _
       ByVal fileId As Guid, _
       ByRef stream As Stream _
    ) As Boolean
    public bool TryLoadSessionFileStream( 
       Guid sessionId,
       Guid fileId,
       out Stream stream
    )

    Parameters

    sessionId
    fileId
    stream

    Return Value

    True if a file stream was found, false otherwiseA stream that should be immediately copied and then disposed.
    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