Dynamicweb 8 Documentation
WriteMessage Method

Message type.
Message text.
Data to be passed with an event. Can be null.
Writes a single message to the Event Log.
Syntax
'Declaration
 
Protected Function WriteMessage( _ 
   ByVal messateType As Dynamicweb.Searching.Management.Logging.LogEntryMessageType, _
   ByVal message As String, _ 
   ByVal data() As Byte _ 
) As Boolean
protected bool WriteMessage( 
   Dynamicweb.Searching.Management.Logging.LogEntryMessageType messateType,
   string message,
   byte[] data 
)

Parameters

messateType
Message type.
message
Message text.
data
Data to be passed with an event. Can be null.

Return Value

Value indicating whether message has been successfully written.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EventLogProvider Class
EventLogProvider Members

Send Feedback