'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
'Declaration
Public Function AddSession( _ ByVal sessionStream As Stream _ ) As Boolean
public bool AddSession( Stream sessionStream )
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.
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