Documentation Center

EventMonitor 2.5 AddEventDetail

Adds a new action to an existing event which is specified by the parameter plProgressId .


Parameters

NameTypeDirectionDescription
psAuthContextStringInOutDeprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant.
plProgressIdLongInThe unique identifier of the event
peLeveleEventLevelInOne of the enumeration values that specifies the event level for the event detail
psActionStringInAction of the event (e.g. Request queued)
psDescriptionStringInDescription of the event
peStatuseDetailStatusInIndicates the status for the event detail
peDataTypeeEventDataTypeInIndicates the data type of the event data content.
pbDataBlobInThe event data content
plOutDetailIdLongOutThe unique identifier of the newly added event detail

Note that:
  • The event must exist. So, make sure that the event is initialized by calling StartEvent
  • The event is only logged if the given EventLevel is lower than the configured EvenAppLevel. For example, EventAppLevel Verbose will log messages of level 'Exception', 'Warning', 'Information' and 'Verbose' but not the messages of level 'Debug'.
  • The size of psAction is limited to 255 characters. So, try to keep the action short. If the string is too large, the string will be truncated!
  • The size of psDescription is limited to 2000 characters. If the string is too large, the string will be truncated!
  • The creation date is set to the current date (and time)
  • The ProcessId , the ThreadId and the HostName are set automatically