Click or drag to resize

ExceptionToEventLogAttribute Constructor (String, EventLogEntryType, Int32, Int16)

Initializes a new instance of ExceptionToEventLogAttribute.

Namespace:  Cauldron.Interceptors
Assembly:  Cauldron.Interceptors (in Cauldron.Interceptors.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public ExceptionToEventLogAttribute(
	string logname,
	EventLogEntryType eventLogEntryType,
	int eventId,
	short category
)

Parameters

logname
Type: SystemString
The source name to register and use when writing to the event log.
eventLogEntryType
Type: System.DiagnosticsEventLogEntryType
One of the event log entry type value.
eventId
Type: SystemInt32
The application-specific identifier for the event.
category
Type: SystemInt16
The application-specific subcategory associated with the message.
See Also