Share via


LoggingExceptionHandlerData.EventId Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the default event ID.

Namespace:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("eventId", IsRequired := True)> _
PublicPropertyEventIdAs Integer
[ConfigurationPropertyAttribute("eventId", IsRequired = true)]
public int EventId { get; set; }
[ConfigurationPropertyAttribute(L"eventId", IsRequired = true)]
public:
property int EventId {
    int get ();
    voidset (int value);
}
publicfunction getEventId () : int
publicfunction setEventId (value : int)

See Also

LoggingExceptionHandlerData Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.