次の方法で共有


SyncTaskStatusQuery Class

 

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

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

Inheritance Hierarchy

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

Syntax

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

Constructors

Name Description
System_CAPS_protmethod SyncTaskStatusQuery()

Initializes a new instance of the SyncTaskStatusQuery class.

Methods

Name Description
System_CAPS_pubmethod BeginGetStatus(AsyncCallback, Object)

Starts the status query synchronously.

System_CAPS_pubmethod CancelGetStatus(IAsyncResult)

Cancels the querying process. This method has an empty implementation that does nothing.

System_CAPS_pubmethod Dispose()

Releases all resources used by the SyncTaskStatusQuery.

System_CAPS_protmethod Dispose(Boolean)

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

System_CAPS_pubmethod EndGetStatus(IAsyncResult)

Returns the synchronous 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 NotifyToRefreshQuickStatus(Object)

Notifies that the quick status needs to be reloaded.

System_CAPS_protmethod QueryTaskStatus()

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent QuickStatusNotificationEvent

Occurs when there is a quick status update.

Remarks

This is an abstract class. The QueryTaskStatus method, which executes synchronously, requires an implementation.

Note that this class implements the ITaskStatusQuery interface as a synchronous query, so the BeginGetStatus method retrieves a result immediately, and the CancelGetStatus method is not needed.

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