TaskProvider.Deactivate Method
Called when a task provider is about to be discarded by the designer.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Overridable Sub Deactivate
protected virtual void Deactivate()
protected:
virtual void Deactivate()
abstract Deactivate : unit -> unit
override Deactivate : unit -> unit
protected function Deactivate()
Remarks
An TaskProvider instance may be activated and deactivated several times during its lifetime. Implement the Activate and Deactivate methods accordingly.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace