Manages a query notification for the VistaDB database engine.
| C# |
public class VistaDBQueryNotification : IQueryNotification, ISuspendable, IDisposableNotify, IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| VistaDBQueryNotification(TimeSpan, String, SynchronizationClient) |
Creates a new instance.
| |
| Change |
Occurs when new data is available, including after it is auto-refreshed or refreshed manually.
| |
| Dispose()()() |
Disposes of the object.
| |
| Dispose(Boolean) |
Disposes of the object.
| |
| Disposing |
Occurs when the object is being disposed.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Finalizes the object.
(Overrides Object.Finalize()()().) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsDisposed |
Whether the object has been disposed.
| |
| IsDisposing |
Whether the object is being disposed.
| |
| LastRefreshed |
Gets the time of the last refresh.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MinimumDelay |
Gets or sets the minimum delay between refreshes.
| |
| NotifyChange()()() |
Refreshes data by calling Refresh()()(), respecting the MinimumDelay by waiting (sleeping)
as needed.
| |
| NotifyChange(Boolean) |
Refreshes data by calling Refresh()()(), respecting the MinimumDelay by waiting (sleeping)
as needed.
| |
| OnChange(SqlNotificationEventArgs) |
Raises the Change event.
| |
| OnDisposing(EventArgs) |
Raises the Disposing event.
| |
| Refresh()()() |
(Re)subscribes to the query and raises the Change event.
| |
| Refresh(Boolean) |
Resubscribes to the query and optionally raises the Change event.
| |
| Resume()()() |
Decrements the suspend count, enabling nofications if the count has reached zero
(i.e. if this method has been called the same number of times as a suspend method).
| |
| Resume(Boolean) |
Decrements the suspend count, enabling nofications if the count has reached zero
(i.e. if this method has been called the same number of times as a suspend method).
| |
| Suspend()()() |
Increments the suspend count, disabling nofications.
| |
| Suspended |
Gets whether noficiations are suspended (i.e. a suspend method has been called more times than
a resume method).
| |
| SyncClient |
Gets the associated synchronization client.
| |
| TableName |
Name of the table the query is dependent upon.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| VistaDBQueryNotification | |