Поделиться через


ContextService.SetContext Method

Sets the context.

Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Usage

'Usage
Dim instance As ContextService
Dim contextId As Guid
Dim customerInformation As String

instance.SetContext(contextId, customerInformation)

Syntax

'Declaration
Public Overridable Sub SetContext ( _
    contextId As Guid, _
    customerInformation As String _
)
public virtual void SetContext (
    Guid contextId,
    string customerInformation
)
public:
virtual void SetContext (
    Guid contextId, 
    String^ customerInformation
)
public void SetContext (
    Guid contextId, 
    String customerInformation
)
public function SetContext (
    contextId : Guid, 
    customerInformation : String
)

Parameters

  • contextId
    Specifies the context ID.
  • customerInformation
    Specifies the customer information.

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

ContextService Class
ContextService Members
Microsoft.Uii.AifServices Namespace

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