HostedApplicationAdapter.NotifyContextChange 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
NotifyContextChange(Context) |
Called when the context is changed. |
NotifyContextChange(String) |
Obsolete.
Obsolete. Called when the context is changed. |
NotifyContextChange(Context)
Called when the context is changed.
public:
virtual bool NotifyContextChange(Microsoft::Uii::Csr::Context ^ context);
public virtual bool NotifyContextChange (Microsoft.Uii.Csr.Context context);
abstract member NotifyContextChange : Microsoft.Uii.Csr.Context -> bool
override this.NotifyContextChange : Microsoft.Uii.Csr.Context -> bool
Public Overridable Function NotifyContextChange (context As Context) As Boolean
Parameters
- context
- Context
Contains the context data.
Returns
true to accept the change; otherwise, false
.
Applies to
NotifyContextChange(String)
Caution
This method has been deprecated, use NotifyContextChange(Context context)
Obsolete. Called when the context is changed.
public:
virtual bool NotifyContextChange(System::String ^ context);
[System.Obsolete("This method has been deprecated, use NotifyContextChange(Context context)")]
public virtual bool NotifyContextChange (string context);
[<System.Obsolete("This method has been deprecated, use NotifyContextChange(Context context)")>]
abstract member NotifyContextChange : string -> bool
override this.NotifyContextChange : string -> bool
Public Overridable Function NotifyContextChange (context As String) As Boolean
Parameters
- context
- String
Specifies the context.
Returns
true to accept the change; otherwise, false
.
- Attributes