ApplicationHost.CreateContext Method
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
CreateContext() |
Creates a default context. |
CreateContext(Context) |
Creates a new copy of the context |
CreateContext()
Creates a default context.
public:
Guid CreateContext();
public Guid CreateContext ();
member this.CreateContext : unit -> Guid
Public Function CreateContext () As Guid
Returns
Unique ID (Guid) to the context
Applies to
CreateContext(Context)
Creates a new copy of the context
public:
Guid CreateContext(Microsoft::Uii::Csr::Context ^ context);
public Guid CreateContext (Microsoft.Uii.Csr.Context context);
member this.CreateContext : Microsoft.Uii.Csr.Context -> Guid
Public Function CreateContext (context As Context) As Guid
Parameters
- context
- Context
Specifies the context to create on server.
Returns
Unique ID (Guid) to the context