ErrorManagerAppend Method (ConnectionId, SessionId, Int32, String, EventLogEntryType, CSEventLogSources) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Writes an event to the Content Studio event log.

Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public int Append(
	ConnectionId connectionId,
	SessionId sessionId,
	int eventId,
	string message,
	EventLogEntryType level,
	CSEventLogSources source
)

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).
eventId
Type: SystemInt32
The id of the event
message
Type: SystemString
The text to write
level
Type: System.DiagnosticsEventLogEntryType
The type of message. This must be one of the members of standard EventLogEntryType enumeration
source
Type: ContentStudioCSEventLogSources
One of the predefined sources to use

Return Value

Type: Int32
The index of the entry written
See Also

Reference