SessionManager.Create Method
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)
Overload List
Name | Description | |
---|---|---|
Create(String) | Creates a new instance of the SessionManager class. |
|
Create(String, IDictionary<String, Object>) | Creates a new instance of the SessionManager class. |
See Also
SessionManager Class
Microsoft.VisualStudio.Tools.Applications Namespace
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.StringThe name of the hosting application.
Return Value
Type: Microsoft.VisualStudio.Tools.Applications.SessionManager
Returns an instance of SessionManager.
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.StringThe name of the hosting application.
options
Type: System.Collections.Generic.IDictionary<String, Object>A dictionary of options for configuring the SessionManager. The option names are defined in Names and default option values are defined in Values.
Return Value
Type: Microsoft.VisualStudio.Tools.Applications.SessionManager
Returns an instance of SessionManager.