SessionManager.Create Method

 

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

Overload List

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.

See Also

SessionManager Class
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top

SessionManager.Create Method (String)

Creates a new instance of the SessionManager class.

Syntax

public static SessionManager Create(
    string applicationName
)
public:
static SessionManager^ Create(
    String^ applicationName
)
static member Create : 
        applicationName:string -> SessionManager
Public Shared Function Create (
    applicationName As String
) As SessionManager

Parameters

  • applicationName
    Type: System.String

    The name of the hosting application.

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.SessionManager

Returns an instance of SessionManager.

Return to top

SessionManager.Create Method (String, IDictionary<String, Object>)

Creates a new instance of the SessionManager class.

Syntax

public static SessionManager Create(
    string applicationName,
    IDictionary<string, object> options
)
public:
static SessionManager^ Create(
    String^ applicationName,
    IDictionary<String^, Object^>^ options
)
static member Create : 
        applicationName:string *
        options:IDictionary<string, Object> -> SessionManager
Public Shared Function Create (
    applicationName As String,
    options As IDictionary(Of String, Object)
) As SessionManager

Parameters

  • applicationName
    Type: System.String

    The name of the hosting application.

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.SessionManager

Returns an instance of SessionManager.

Return to top