SyncTaskStatusQuery Class

 

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

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

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

public ref class SyncTaskStatusQuery abstract : ITaskStatusQuery, 
	IDisposable

NameDescription
System_CAPS_protmethodSyncTaskStatusQuery()

Initializes a new instance of the SyncTaskStatusQuery class.

NameDescription
System_CAPS_pubmethodBeginGetStatus(AsyncCallback^, Object^)

Starts the status query synchronously.

System_CAPS_pubmethodCancelGetStatus(IAsyncResult^)

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

System_CAPS_pubmethodDispose()

Releases all resources used by the SyncTaskStatusQuery.

System_CAPS_protmethodDispose(Boolean)

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

System_CAPS_pubmethodEndGetStatus(IAsyncResult^)

Returns the synchronous result.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodNotifyToRefreshQuickStatus(Object^)

Notifies that the quick status needs to be reloaded.

System_CAPS_protmethodQueryTaskStatus()

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventQuickStatusNotificationEvent

Occurs when there is a quick status update.

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.

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

Return to top

Community Additions

ADD
Show: