Partilhar via


Notification Services Event Format

Notification Services writes events to the Application log in XML format. The log entry shows the structure of the event, which can be used by some log monitoring applications to extract information from the event details.

Example Event

The following table presents an example of an event written to the Application log; the event was caused by a failure to deliver a notification.

Event Header

Date:

1/14/2003

Source:

NotificationServices

Time:

13:23

Category:

None

Type:

Error

Event ID:

6043

User:

N/A

 

 

Computer:

MyComputer

 

 

Description

<NotificationServicesEvent>
  <Description>
    A delivery failure was reported.
  </Description>
  <Context>
    <EventParameters>
      <Distributor Id>1</Distributor Id>
      <Distributor Name>MoviesDist1</Distributor Name>
      <Delivery Channel Name>FileChannel</Delivery Channel Name>
      <Notification Id>199</Notification Id>
      <NotificationClassName>Movie</NotificationClassName>
      <Notification Status Info></Notification Status Info>
      <Notification Text></Notification Text>
      <Notification Sent Time>1/14/2005 9:23:17 PM
      </Notification Sent Time>
    </EventParameters>
  </Context>
  <Instance>Entertainment</Instance>
  <ApplicationName>Movies</ApplicationName>
  <Component>Distributor</Component>
  <ComponentDetails>
    DistributorName: MoviesDist1
  </ComponentDetails>
  <Thread>14</Thread>
</NotificationServicesEvent>  
For more information, see Help and Support Center at https://go.microsoft.com/fwlink/events.asp.

The event description contains an event description, context information about the event, such as distributor and notification class information, and the instance, application, and component names.

Note the date difference between the event header and the event description. The time of the event (13:23) is local to the computer (Pacific Standard Time in this case), and the <Notification Sent Time> value (9:23:17 PM) is Universal Time Convention (UTC), which is the same as Greenwich Mean Time.

In Windows XP and Windows Server 2003, the link at the bottom of the event description appears in errors and warnings, and contains hidden name/value pairs that identify the event. When you click the link, Windows Help and Support Center displays additional information about the event.

See Also

Tasks

Viewing Notification Services Events

Concepts

Cause and Resolution of Notification Services Events

Other Resources

Notification Services Errors and Events
Configuring Notification Services Event Logging
Using Event Messages

Help and Information

Getting SQL Server 2005 Assistance