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