IMcEventLogWriteEntry Method
|
|
Writes an entry of the specified type with the user-defined eventID
and category to the event log, and optionally appends binary data to the message.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxSub WriteEntry (
Message As String,
Optional EntryType As mcEventLogEntryType = mcEventLogEntryType.mceleInformation,
Optional EventID As Integer = 0,
Optional Category As Integer = 0,
<OptionalAttribute> RawData As Object
)
Parameters
- Message
- Type: SystemString
BSTR : The message to log. - EntryType (Optional)
- Type: MediaCy.IQL.EnginemcEventLogEntryType
- EventID (Optional)
- Type: SystemInt32
long : A user defined id. Default value is 0. - Category (Optional)
- Type: SystemInt32
long : A user defined category. Default value is 0. - RawData (Optional)
- Type: SystemObject
VARIANT : An optional buffer to append to the message.
Return Value
Type:
HRESULT
RemarksThe category can be used by an event viewer to filter events in the log.
See Also