Session.Restore Method

Restores the state of a session from the passed XML.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As Session
Dim sessionInfoXml As String
Dim returnValue As Boolean

returnValue = instance.Restore(sessionInfoXml)

Syntax

'Declaration
Public MustOverride Function Restore ( _
    sessionInfoXml As String _
) As Boolean
public abstract bool Restore (
    string sessionInfoXml
)
public:
virtual bool Restore (
    String^ sessionInfoXml
) abstract
public abstract boolean Restore (
    String sessionInfoXml
)
public abstract function Restore (
    sessionInfoXml : String
) : boolean

Parameters

  • sessionInfoXml

Return Value

true if this is an active session, false if not

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Session Class
Session Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.