Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatcherOperation::Abort Method ()

 

Aborts the operation.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public:
bool Abort()

Return Value

Type: System::Boolean

true if the operation was aborted; otherwise, false.

If an operation is already in progress, this method will return false.

When an operation is aborted, the Status of the DispatcherOperation is set to Aborted and the Aborted event is raised.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft