IContextManager.SetContext Method

Sets the context.

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

Usage

'Usage
Dim instance As IContextManager
Dim customer As CustomerEntity
Dim returnValue As Context

returnValue = instance.SetContext(customer)

Syntax

'Declaration
Function SetContext ( _
    customer As CustomerEntity _
) As Context
Context SetContext (
    CustomerEntity customer
)
Context^ SetContext (
    CustomerEntity^ customer
)
Context SetContext (
    CustomerEntity customer
)
function SetContext (
    customer : CustomerEntity
) : Context

Parameters

  • customer
    Specifies the customer record.

Return Value

Populated Context Object

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

IContextManager Interface
IContextManager Members
Microsoft.Uii.Desktop.Core Namespace

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