SafeEventLog.WriteEntry Method (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 ( _
e As Exception, _
type As EventLogEntryType, _
eventID As Integer _
)
'Usage
Dim instance As SafeEventLog
Dim e As Exception
Dim type As EventLogEntryType
Dim eventID As Integer
instance.WriteEntry(e, type, eventID)
public void WriteEntry(
Exception e,
EventLogEntryType type,
int eventID
)
Parameters
- e
Type: System.Exception
- type
Type: System.Diagnostics.EventLogEntryType
- eventID
Type: System.Int32