Class ShutdownSignal
Signal for terminating the application. This class cannot be inherited.
Inheritance
System.Object
ShutdownSignal
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Application
Assembly: Kephas.Application.dll
Syntax
public sealed class ShutdownSignal : ISignal, ISeverityQualifiedException
Constructors
| Improve this Doc View SourceShutdownSignal(String, SeverityLevel)
Initializes a new instance of the ShutdownSignal class.
Declaration
public ShutdownSignal(string message, SeverityLevel severity = SeverityLevel.Info)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
SeverityLevel | severity | Optional. The severity. |
Properties
| Improve this Doc View SourceMessage
Gets the message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |
Severity
Gets the severity.
Declaration
public SeverityLevel Severity { get; }
Property Value
Type | Description |
---|---|
SeverityLevel | The severity. |