20 references to SqlNotificationSource
System.Data (20)
fx\src\data\System\Data\SqlClient\SqlDependency.cs (4)
394
sqlNotificationEvent = new SqlNotificationEventArgs(SqlNotificationType.Subscribe, SqlNotificationInfo.AlreadyChanged,
SqlNotificationSource
.Client);
1027
internal void Invalidate(SqlNotificationType type, SqlNotificationInfo info,
SqlNotificationSource
source) {
1036
SqlNotificationSource
.Client != source) {
1142
Invalidate(SqlNotificationType.Subscribe, SqlNotificationInfo.AlreadyChanged,
SqlNotificationSource
.Client);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (8)
669
SqlNotificationSource
.Client,
708
SqlNotificationSource
.Client,
968
SqlNotificationSource
source =
SqlNotificationSource
.Unknown;
998
SqlNotificationSource
temp = (
SqlNotificationSource
)Enum.Parse(typeof(
SqlNotificationSource
), xmlReader.Value, true);
999
if (Enum.IsDefined(typeof(
SqlNotificationSource
), temp)) {
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (4)
534
dependencies[i].Invalidate(SqlNotificationType.Change, SqlNotificationInfo.Error,
SqlNotificationSource
.Timeout);
578
private readonly
SqlNotificationSource
_source;
582
internal SqlNotification(SqlNotificationInfo info,
SqlNotificationSource
source, SqlNotificationType type, string key) {
601
internal
SqlNotificationSource
Source {
fx\src\data\System\Data\SqlClient\SqlNotificationEventArgs.cs (4)
19
private
SqlNotificationSource
_source;
21
public SqlNotificationEventArgs(SqlNotificationType type, SqlNotificationInfo info,
SqlNotificationSource
source) {
39
public
SqlNotificationSource
Source {
45
internal static SqlNotificationEventArgs NotifyError = new SqlNotificationEventArgs(SqlNotificationType.Subscribe, SqlNotificationInfo.Error,
SqlNotificationSource
.Object);