NotificationStatus Constructor

Initializes a new instance of the NotificationStatus class.

重载列表

名称 Description
NotificationStatus (NotificationState, Boolean, String, String)
Initializes a new instance of the NotificationStatus class with a NotificationState object, a delivery success value, status information, and the formatted notification data. The timestamp is undefined.
NotificationStatus (NotificationState, Boolean, String, String, DateTime)
Initializes a new instance of the NotificationStatus class with a NotificationState object, a delivery success value, status information, the formatted notification data, and a delivery timestamp.
NotificationStatus (NotificationState, Boolean, String, String, Object)
Creates an instance of the NotificationStatus class, and initializes it with references to a NotificationState, a Boolean value indicating whether the delivery was a success, the delivery status, the notification text, and the delivery date and time. If specifying the notification delivery time, the value must be provided in Universal Time Coordinate (UTC) format.

请参阅

参考

NotificationStatus Class
NotificationStatus Members
Microsoft.SqlServer.NotificationServices Namespace