Freigeben über


AutomationBridgeService.SetContextValue Method

Sets a value in the UII context.

Namespace: Microsoft.Uii.HostedApplicationToolkit.AutomationHosting
Assembly: Microsoft.Uii.HostedApplicationToolkit.AutomationHosting (in Microsoft.Uii.HostedApplicationToolkit.AutomationHosting.dll)

Usage

'Usage
Dim instance As AutomationBridgeService
Dim key As String
Dim value As String

instance.SetContextValue(key, value)

Syntax

'Declaration
Public Sub SetContextValue ( _
    key As String, _
    value As String _
)
public void SetContextValue (
    string key,
    string value
)
public:
void SetContextValue (
    String^ key, 
    String^ value
)
public void SetContextValue (
    String key, 
    String value
)
public function SetContextValue (
    key : String, 
    value : String
)

Parameters

  • key
    Specifies the key.
  • value
    Specifies the value.

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

AutomationBridgeService Class
AutomationBridgeService Members
Microsoft.Uii.HostedApplicationToolkit.AutomationHosting Namespace

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