ApplicationHost Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ApplicationHost() |
Obsolete.
Initializes a new instance of the ApplicationHost class. |
ApplicationHost(Guid, Boolean) |
Initializes a new instance of the ApplicationHost class. |
ApplicationHost(Guid, Boolean, Boolean) |
Initializes a new instance of the ApplicationHost class. |
ApplicationHost()
Caution
This constructor has been deprecated, use ApplicationHost(Guid sessionID, bool globalSession)
Initializes a new instance of the ApplicationHost class.
public:
ApplicationHost();
[System.Obsolete("This constructor has been deprecated, use ApplicationHost(Guid sessionID, bool globalSession)", true)]
public ApplicationHost ();
Public Sub New ()
- Attributes
Applies to
ApplicationHost(Guid, Boolean)
Initializes a new instance of the ApplicationHost class.
public:
ApplicationHost(Guid sessionID, bool globalSession);
public ApplicationHost (Guid sessionID, bool globalSession);
new Microsoft.Uii.Csr.ApplicationHost : Guid * bool -> Microsoft.Uii.Csr.ApplicationHost
Public Sub New (sessionID As Guid, globalSession As Boolean)
Parameters
- sessionID
- Guid
Specifies the ID of the session this ApplicationHost is associated with
- globalSession
- Boolean
True
if the host application is associated with a global session, false
otherwise.
Applies to
ApplicationHost(Guid, Boolean, Boolean)
Initializes a new instance of the ApplicationHost class.
public:
ApplicationHost(Guid sessionID, bool globalSession, bool useContextProxy);
public ApplicationHost (Guid sessionID, bool globalSession, bool useContextProxy);
new Microsoft.Uii.Csr.ApplicationHost : Guid * bool * bool -> Microsoft.Uii.Csr.ApplicationHost
Public Sub New (sessionID As Guid, globalSession As Boolean, useContextProxy As Boolean)
Parameters
- sessionID
- Guid
Specifies the ID of the session the application host is associated with
- globalSession
- Boolean
True
if the host application is associated with a global session, false
otherwise.
- useContextProxy
- Boolean
True
to activate calls to the context web service to persist context changes, otherwise false
.