Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Xml
This is the backwards compatible implementation of this method.
This implementation does not throw any exceptions, instead callers must examine the outcome of the call in the Status and StatusText output parameters.
[This is preliminary documentation and is subject to change.]
Returns detailed information for a certain Content Studio event log entry.
Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public string GetItem( ConnectionId connectionId, SessionId sessionId, int index, out int status, out string statusText )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId). - index
- Type: SystemInt32
The index of the entry to return. This entry must exists and must be connected to the actual site. - status
- Type: SystemInt32
An integer indicating result of the call. Zero is success. - statusText
- Type: SystemString
The textual representation of the call result.
Return Value
Type: StringXml
Examples
<root> <entries> <entry index="integer" level="integer" eventid="integer" connectionid="short" generated="sortable datetime value" written="sortable datetime value" message="string" machinename="string" source="string" data="base-64 encoded binary value" /> </entries> </root>
Element/attribute | Type | Description |
---|---|---|
/root/entries/entry | An element representing one single log entry | |
/root/entries/entry@index | integer | The entry index |
/root/entries/entry@level | integer | The level (severity) of the entry. See list below for the meaning of this value. |
/root/entries/entry@eventid | integer | Gets the resource identifier that designates the message text of the event entry. |
/root/entries/entry@connectionid | short | A value that identifies the web site |
/root/entries/entry@generated | integer | Gets the local time at which this event was generated. |
/root/entries/entry@written | integer | Gets the local time at which this event was written to the log. |
/root/entries/entry@message | string | Gets the localized message associated with this event entry. |
/root/entries/entry@machinename | string | Gets the name of the computer on which this entry was generated. |
/root/entries/entry@source | string | Gets the name of the application that generated this event. |
/root/entries/entry@data | string | Base-64 encoded binary data associated with the entry. |
The level attribute can be one of the following numeric values
- 1 - Error
- 2 - Warning
- 3 - Information
- 4 - Success audit
- 5 - Failed audit
Remarks
See Also