Creates a new Alert log entry.

Namespace: Keystone.Almanac
Assembly: Keystone.Almanac (in Keystone.Almanac.dll)

public Alert( 
string message
Nullable<int> id = null, 
string operationName = "not set", 
Severity severity = Severity.Normal, 
Exception exception = null 
This language is not supported or no code example is available.



Type: string

A brief explanatory text of this entry.


Type: Nullable<int>

The cataloged number or error code that identifies well known entries.


Type: string

The operation name associated to this entry.


Type: Severity

The application dependent degree of impact or relevance of this entry.


Type: Exception

Optional parameter that defines the exception if any, associated to this entry.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6


Xamarin, Mono