Compartir a través de


AgentDesktopSession.Restore Method

Restores the state of a session from the passed PackageSession Object.

Namespace: Microsoft.Uii.Desktop.SessionManager
Assembly: Microsoft.Uii.Desktop.SessionManager (in Microsoft.Uii.Desktop.SessionManager.dll)

Usage

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

returnValue = instance.Restore(sessionInfoXml)

Syntax

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

Parameters

  • sessionInfoXml
    Specifies the session information.

Return Value

Type: Boolean
True if this is an active session, otherwise False.

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

AgentDesktopSession Class
AgentDesktopSession Members
Microsoft.Uii.Desktop.SessionManager Namespace

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