Compartir a través de


ApplicationHost.HandleChangeContext Method

Definition

Caution

This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)

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.

protected:
 virtual void HandleChangeContext(Microsoft::Uii::Csr::IHostedApplication ^ appSender, Microsoft::Uii::Csr::ContextEventArgs ^ args);
[System.Obsolete("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true)]
protected virtual void HandleChangeContext (Microsoft.Uii.Csr.IHostedApplication appSender, Microsoft.Uii.Csr.ContextEventArgs args);
[<System.Obsolete("This method has been deprecated, use HandleStateChanged(object, StateChangedEventArgs)", true)>]
abstract member HandleChangeContext : Microsoft.Uii.Csr.IHostedApplication * Microsoft.Uii.Csr.ContextEventArgs -> unit
override this.HandleChangeContext : Microsoft.Uii.Csr.IHostedApplication * Microsoft.Uii.Csr.ContextEventArgs -> unit
Protected Overridable Sub HandleChangeContext (appSender As IHostedApplication, args As ContextEventArgs)

Parameters

appSender
IHostedApplication

Specifies the hosted application that has raised the event.

args
ContextEventArgs

Specifies RequestActionEventArgs arguments.

Attributes

Applies to