IHostedApplication3.SetContext Method
This is used to set the context from ApplicationHost without causing further notifications. It exists so that context can be updated quietly before doing the 'real' context notification because some applications fire actions onto other apps when the context changes and some actions are designed to depend upon context. In other words, a race condition.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Usage
'Usage
Dim instance As IHostedApplication3
Dim context As Context
instance.SetContext(context)
Syntax
'Declaration
<ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB's WorkItem State, therefore the context will have already been set and available before context notification is fired.")> _
Sub SetContext ( _
context As Context _
)
[ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB\'s WorkItem State, therefore the context will have already been set and available before context notification is fired.")]
void SetContext (
Context context
)
[ObsoleteAttribute(L"This is no longer needed - Context has been updated to use CAB\'s WorkItem State, therefore the context will have already been set and available before context notification is fired.")]
void SetContext (
Context^ context
)
/** @attribute ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB\'s WorkItem State, therefore the context will have already been set and available before context notification is fired.") */
void SetContext (
Context context
)
ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB\u0027s WorkItem State, therefore the context will have already been set and available before context notification is fired.")
function SetContext (
context : Context
)
Parameters
- context
Specifies the 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
IHostedApplication3 Interface
IHostedApplication3 Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.