Task.Revert Method
Reverts this task.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub Revert
public void Revert()
public:
void Revert()
member Revert : unit -> unit
public function Revert()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The task is not active. |
Remarks
If the task is not active, this method will throw an exception.
.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