NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventLogEntry.Data

Gets the binary data associated with the entry.

[Visual Basic]
Public ReadOnly Property Data As Byte ()
[C#]
public byte[] Data {get;}
[C++]
public: __property unsigned char* get_Data();
[JScript]
public function get Data() : Byte[];

Property Value

An array of type Byte.

Remarks

This method instantiates an array that holds a copy of the entry's event-specific binary data. Use event-specific data sparingly, including it only if it will be useful to someone debugging the problem. Event-specific data can be used to store information the application will process independent of the event viewer, for example to make reports from the log file.

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace