Compartir a través de


HostedWebApplication.UpdateContextValue Method (Dictionary)

Accepts a Dictionary collection of keys and values and adds them (or updates it if it currently exists) to the current context. Then notify other apps the context has changed.

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

Usage

'Usage
Dim instance As HostedWebApplication
Dim contextValues As Dictionary(Of String, String)

instance.UpdateContextValue(contextValues)

Syntax

'Declaration
Public Sub UpdateContextValue ( _
    contextValues As Dictionary(Of String, String) _
)
public void UpdateContextValue (
    Dictionary<string,string> contextValues
)
public:
void UpdateContextValue (
    Dictionary<String^, String^>^ contextValues
)
public void UpdateContextValue (
    Dictionary<String,String> contextValues
)
public function UpdateContextValue (
    contextValues : Dictionary<String,String>
)

Parameters

  • contextValues
    Context values used for update.

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

HostedWebApplication Class
HostedWebApplication Members
Microsoft.Uii.Csr Namespace

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