Share via


CancellableTaskStatusQuery Class

 

Contains the base functionality for performing status queries for a cancellable task.

Namespace:   Microsoft.WindowsServerSolutions.Dashboard.Addins.Home
Assembly:  HomeAddinContract (in HomeAddinContract.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Dashboard.Addins.Home.CancellableTaskStatusQuery

Syntax

public abstract class CancellableTaskStatusQuery : ITaskStatusQuery, 
    IDisposable
public ref class CancellableTaskStatusQuery abstract : ITaskStatusQuery, 
    IDisposable
Public MustInherit Class CancellableTaskStatusQuery
    Implements ITaskStatusQuery, IDisposable

Constructors

Name Description
System_CAPS_protmethod CancellableTaskStatusQuery()

Initializes a new instance of the CancellableTaskStatusQuery class.

Methods

Name Description
System_CAPS_pubmethod BeginGetStatus(AsyncCallback, Object)

Starts the status query asynchronously for a cancellable task.

System_CAPS_pubmethod CancelGetStatus(IAsyncResult)

Cancels the asynchronous querying process.

System_CAPS_pubmethod Dispose()

Releases all resources used by the CancellableTaskStatusQuery.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the CancellableTaskStatusQuery and optionally releases the managed resources.

System_CAPS_pubmethod EndGetStatus(IAsyncResult)

Waits for the completion of the asynchronous query and returns the result.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod QueryStatus(CancellationToken)

When overridden in a derived class, queries for the status of a cancellable task.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent QuickStatusNotificationEvent

Occurs when there is a quick status update on a cancellable task.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Dashboard.Addins.Home Namespace

Return to top