Share via


ExEventLog.LogEvent method (, ExEventLog.EventTuple, String, Object[])

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

Syntax

'Declaration
Public Function LogEvent ( _
    organizationId As IOrganizationIdForEventLog, _
    tuple As ExEventLog.EventTuple, _
    periodicKey As String, _
    ParamArray messageArgs As Object() _
) As Boolean
'Usage
Dim instance As ExEventLog
Dim organizationId As IOrganizationIdForEventLog
Dim tuple As ExEventLog.EventTuple
Dim periodicKey As String
Dim messageArgs As Object()
Dim returnValue As Boolean

returnValue = instance.LogEvent(organizationId, _
    tuple, periodicKey, messageArgs)
public bool LogEvent(
    IOrganizationIdForEventLog organizationId,
    ExEventLog.EventTuple tuple,
    string periodicKey,
    params Object[] messageArgs
)

Parameters

  • organizationId
    Type: IOrganizationIdForEventLog
  • messageArgs
    Type: []

Return value

Type: System.Boolean

See also

Reference

ExEventLog class

ExEventLog members

LogEvent overload

Microsoft.Exchange.Diagnostics namespace