The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SqlNotificationRequest::UserData Property
.NET Framework (current version)
Gets or sets an application-specific identifier for this notification.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::String^A string value of the application-specific identifier for this notification.
| Exception | Condition |
|---|---|
| ArgumentException | The value is longer than uint16.MaxValue. |
This value is not used by the notifications infrastructure. Instead, it is a mechanism that allows an application to associate notifications with application state. The value specified in the UserData property is included in the SQL Server 2005 queue message.
.NET Framework
Available since 2.0
Available since 2.0
Show: