ExternalApplication.SetContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetContext(Context) |
Obsolete.
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. |
SetContext(String) |
Obsolete.
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 otherwords, a race condition. |
SetContext(Context)
Caution
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.
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.
public:
override void SetContext(Microsoft::Uii::Csr::Context ^ context);
[System.Obsolete("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.")]
public override void SetContext (Microsoft.Uii.Csr.Context context);
[<System.Obsolete("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.")>]
override this.SetContext : Microsoft.Uii.Csr.Context -> unit
Public Overrides Sub SetContext (context As Context)
Parameters
- context
- Context
context
- Attributes
Applies to
SetContext(String)
Caution
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.
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 otherwords, a race condition.
public:
override void SetContext(System::String ^ context);
[System.Obsolete("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.")]
public override void SetContext (string context);
[<System.Obsolete("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.")>]
override this.SetContext : string -> unit
Public Overrides Sub SetContext (context As String)
Parameters
- context
- String
context
- Attributes