| Event Constructor |
Constructs an Event given its source, date, severity, category, and details about the event.
Namespace:
Galactic.EventLog
Assembly:
Galactic.EventLog (in Galactic.EventLog.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public Event(
string source,
DateTime date,
EventSeverityLevels severity,
string category,
string details
)
Public Sub New (
source As String,
date As DateTime,
severity As EventSeverityLevels,
category As String,
details As String
)
public:
Event(
String^ source,
DateTime date,
EventSeverityLevels severity,
String^ category,
String^ details
)
new :
source : string *
date : DateTime *
severity : EventSeverityLevels *
category : string *
details : string -> Event
Parameters
- source
- Type: SystemString
An identifier for the application or service from which the event originated. - date
- Type: SystemDateTime
The date and time that the event occurred. - severity
- Type: Galactic.EventLogEventSeverityLevels
The severity of the event. - category
- Type: SystemString
A category that describes the nature of the event. - details
- Type: SystemString
A detailed description of the event.
See Also