Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Completes changes that were made while this task has the focus.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub Complete
'Usage
Dim instance As Task
instance.Complete()
public void Complete()
public:
void Complete()
public function Complete()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The task does not have the focus. |
Remarks
This method deactivates the focus for the task. If an exception is thrown during this method, the task will deactivate itself.
.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