CoreRMO::Retrieve Notifications
Returns a list of the current notifications in the Resource Manager Database, then deletes the notifications from the database. Used by the Microsoft. Provisioning Framework (MPF).
XML Input Schema
Retrieve Notifications does not require input data.
XML Output Schema
The following code fragment shows the format for data this procedure returns. For more information on individual elements and attributes, see the Elements and Attributes table.
<executeData>1..1 <notifications>1..1 <notification>1..unbounded <eventName>1..1</eventName> <eventTransaction>1..1</eventTransaction> <eventSource>1..1</eventSource> <eventId>1..1</eventId> <eventType>1..1</eventType> <property>1..unbounded</property> <timestamp>1..1</timestamp> </notification> </notifications> </executeData>Elements and Attributes
The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.
Element Description, relationships, and attributes eventId Description:
ID of the notification event. Generated as an HRESULT.Parent:
notificationeventName Description:
Name of the notification event.Parent:
notificationeventSource Description:
Source of the notification event: "Resource Manager Core" or "Resource Manager Block Model".Parent:
notificationeventTransaction Description:
ID of the transaction that raised the notification.Parent:
notificationeventType Description:
Code indicating the type of event.
0 EVENTLOG_SUCCESS 1 EVENTLOG_ERROR_TYPE 2 EVENTLOG_WARNING_TYPE 4 EVENTLOG_INFORMATION_TYPE 8 EVENTLOG_AUDIT_SUCCESS 16 EVENTLOG_AUDIT_FAILURE Parent:
notificationexecuteData Description:
Encapsulates the procedure's output data.Child:
notifications (minOccurs="0" maxOccurs="1")notification Description:
Encapsulates a description of a notification.Children:
eventId (minOccurs="1" maxOccurs="1")
eventName (minOccurs="1" maxOccurs="1")
eventTransaction (minOccurs="1" maxOccurs="1")
eventSource (minOccurs="1" maxOccurs="1")
eventType (minOccurs="1" maxOccurs="1")
property (minOccurs="0" maxOccurs="*")
timestamp (minOccurs="1" maxOccurs="1")Parent:
notificationsnotifications Description:
Encapsulates a list of notifications.Parent:
executeDataChild:
notification (minOccurs="0" maxOccurs="*")property Description:
Property associated with the event.Parent:
notificationtimestamp Description:
Date and time when the notification was raised.Parent:
notificationExample
<request> <data/> <procedure> <execute procedure="Retrieve Notifications" namespace="CoreRMO"> <after source="executeData" sourcePath="notifications" destination="data" /> </execute> </procedure> </request>Remarks
A notification consists of the following:
- Event name
- Event source that identifies the application component that raised the event
- Event ID (HRESULT)
- Event type that indicates the severity of the event (information, warning, or error)
- Set of optional properties that provides further information about the event
- Timestamp that records when the notification was raised
See Also
CoreRMO Provider, Raise Notifications As Events, Resource Manager
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.