Share via


ExEventLog.IImpl.LogEvent method

Namespace:  Microsoft.Exchange.Diagnostics
Assembly:  Microsoft.Exchange.Diagnostics (in Microsoft.Exchange.Diagnostics.dll)

Syntax

'Declaration
Function LogEvent ( _
    organizationId As String, _
    eventId As UInteger, _
    category As Short, _
    level As ExEventLog.EventLevel, _
    type As EventLogEntryType, _
    period As ExEventLog.EventPeriod, _
    periodicKey As String, _
    <OutAttribute> ByRef fEventSuppressed As Boolean, _
    extraData As Byte(), _
    ParamArray messageArgs As Object() _
) As Boolean
'Usage
Dim instance As ExEventLog.IImpl
Dim organizationId As String
Dim eventId As UInteger
Dim category As Short
Dim level As ExEventLog.EventLevel
Dim type As EventLogEntryType
Dim period As ExEventLog.EventPeriod
Dim periodicKey As String
Dim fEventSuppressed As Boolean
Dim extraData As Byte()
Dim messageArgs As Object()
Dim returnValue As Boolean

returnValue = instance.LogEvent(organizationId, _
    eventId, category, level, type, period, _
    periodicKey, fEventSuppressed, extraData, _
    messageArgs)
bool LogEvent(
    string organizationId,
    uint eventId,
    short category,
    ExEventLog.EventLevel level,
    EventLogEntryType type,
    ExEventLog.EventPeriod period,
    string periodicKey,
    out bool fEventSuppressed,
    byte[] extraData,
    params Object[] messageArgs
)

Parameters

  • extraData
    Type: []
  • messageArgs
    Type: []

Return value

Type: System.Boolean

See also

Reference

ExEventLog.IImpl interface

ExEventLog.IImpl members

Microsoft.Exchange.Diagnostics namespace