DataPlace
QueryNotification Class
CSCS.DataPlace.Common.DataQueryNotification
Manages a persistent subscribed query notification.
Declaration Syntax
C#
public class QueryNotification : IQueryNotification, 
	ISuspendable, IDisposableNotify, IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
QueryNotification(SqlCommand, 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)
Determines whether the specified Object is equal to the current 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
Last timestamp of when data was refreshed.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinimumDelay
Minimum time to wait before requerying the data if notifications fire rapidly.

OnChange(SqlNotificationEventArgs)
Raises the Change event.

OnDisposing(EventArgs)
Raises the Disposing event.

Refresh()()()
Resubscribes to the query and raises the Change event.

Refresh(Boolean)
(Re)subscribes to the query and optionally raises the Change event. (The subscription operation is queued for execution; this method will return before the work is done.)

RegisterSqlConnectionForNotifications(String)
Registers a SQL Connection for use with notifications if it has not already been registered.

RegisterSqlConnectionForNotifications(String, Boolean)
Registers a SQL Connection for use with notifications if it has not already been registered.

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).

SqlCommand
Gets or sets the database query command.

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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UnregisterAllSqlConnectionsForNotifications()()()
Unregisters all SQL connections previously registered with this class.

UnregisterSqlConnectionForNotifications(String)
Unregisters the SQL connection for notifications.

Inheritance Hierarchy
Object
QueryNotification

Assembly: CS.DataPlace.Common (Module: CS.DataPlace.Common) Version: 2.0.3271.19817