SafeEventLog.WriteEntry Method (String, Exception, EventLogEntryType, Int32)

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Portal.Diagnostics
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Sub WriteEntry ( _
    message As String, _
    e As Exception, _
    type As EventLogEntryType, _
    eventID As Integer _
)
'Usage
Dim instance As SafeEventLog
Dim message As String
Dim e As Exception
Dim type As EventLogEntryType
Dim eventID As Integer

instance.WriteEntry(message, e, type, eventID)
public void WriteEntry(
    string message,
    Exception e,
    EventLogEntryType type,
    int eventID
)

Parameters

See Also

Reference

SafeEventLog Class

SafeEventLog Members

WriteEntry Overload

Microsoft.SharePoint.Portal.Diagnostics Namespace