Compartilhar via


ApplicationHost.HandleChangeContext Method

All applications, as well as ApplicationHost, share the same instance of context so we don't have to overwrite it b/c everyone is updating the same instance.

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

Usage

'Usage
Dim appSender As IHostedApplication
Dim args As ContextEventArgs

Me.HandleChangeContext(appSender, args)

Syntax

'Declaration
<ObsoleteAttribute("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", True)> _
Protected Overridable Sub HandleChangeContext ( _
    appSender As IHostedApplication, _
    args As ContextEventArgs _
)
[ObsoleteAttribute("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true)] 
protected virtual void HandleChangeContext (
    IHostedApplication appSender,
    ContextEventArgs args
)
[ObsoleteAttribute(L"This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true)] 
protected:
virtual void HandleChangeContext (
    IHostedApplication^ appSender, 
    ContextEventArgs^ args
)
/** @attribute ObsoleteAttribute("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true) */ 
protected void HandleChangeContext (
    IHostedApplication appSender, 
    ContextEventArgs args
)
ObsoleteAttribute("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true) 
protected function HandleChangeContext (
    appSender : IHostedApplication, 
    args : ContextEventArgs
)

Parameters

  • appSender
    Specifies the hosted application that has raised the event.
  • args
    Specifies RequestActionEventArgs arguments.

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

ApplicationHost Class
ApplicationHost Members
Microsoft.Uii.Csr Namespace

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