Partager via


HostedWebApplication.UpdateContextValue Method (String, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Accepts a name and value pair and adds or updates it if it currently exists to the current context. This is public so it can be called via scripts as well.

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

Syntax

public void UpdateContextValue(
    string name,
    string val
)
Public Sub UpdateContextValue (
    name As String,
    val As String
)

Parameters

  • name
    Type: System.String

    Key (name) of the context item to update.

See Also

UpdateContextValue Overload
HostedWebApplication Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright