DispatcherOperation.Abort Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: