Compartilhar via


ApplicationHost.SetContext Method

Sets the context.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As ApplicationHost
Dim context As Context
Dim returnValue As Guid

returnValue = instance.SetContext(context)

Syntax

'Declaration
Public Overridable Function SetContext ( _
    context As Context _
) As Guid
public virtual Guid SetContext (
    Context context
)
public:
virtual Guid SetContext (
    Context^ context
)
public Guid SetContext (
    Context context
)
public function SetContext (
    context : Context
) : Guid

Parameters

  • context
    Specifies the context.

Return Value

Type: Guid
The context ID.

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.

Platforms

See Also

Reference

ApplicationHost Class
ApplicationHost Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.