Condividi tramite


SessionManager Class

 

Creates and manages instances of Session objects.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Applications.SessionManager

Syntax

public sealed class SessionManager : IDisposable
public ref class SessionManager sealed : IDisposable
[<Sealed>]
type SessionManager = 
    class
        interface IDisposable
    end
Public NotInheritable Class SessionManager
    Implements IDisposable

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Create(String)

Creates a new instance of the SessionManager class.

System_CAPS_pubmethodSystem_CAPS_static Create(String, IDictionary<String, Object>)

Creates a new instance of the SessionManager class.

System_CAPS_pubmethod CreateSession()

Creates a new child Session object.

System_CAPS_pubmethod Dispose()

Shuts down the SessionManager and disposes of the child Session objects.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSessions()

Gets a collection of the current child sessions of type Session.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

Microsoft.VisualStudio.Tools.Applications Namespace

Return to top