Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
SyncTaskStatusQuery() | Initializes a new instance of the SyncTaskStatusQuery class. |
Methods
Name | Description | |
---|---|---|
![]() |
BeginGetStatus(AsyncCallback, Object) | Starts the status query synchronously. |
![]() |
CancelGetStatus(IAsyncResult) | Cancels the querying process. This method has an empty implementation that does nothing. |
![]() |
Dispose() | Releases all resources used by the SyncTaskStatusQuery. |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the SyncTaskStatusQuery and optionally releases the managed resources. |
![]() |
EndGetStatus(IAsyncResult) | Returns the synchronous result. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
NotifyToRefreshQuickStatus(Object) | Notifies that the quick status needs to be reloaded. |
![]() |
QueryTaskStatus() | When overridden in a derived class, queries for the status of the task. |
![]() |
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() |
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