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