Class ErrorsEventArgs
Error event.
Inherited Members
Namespace: VisioForge.Core.Types.Events
Assembly: VisioForge.Core.dll
Syntax
public class ErrorsEventArgs : EventArgs
Constructors
ErrorsEventArgs(DebugLevel, DateTime, string, string, string, string)
Initializes a new instance of the ErrorsEventArgs class.
Declaration
public ErrorsEventArgs(DebugLevel level, DateTime timestamp, string message, string callsite = "", string assemblyVersion = "", string stackTrace = "")
Parameters
Type | Name | Description |
---|---|---|
DebugLevel | level | Error level. |
DateTime | timestamp | Timestamp. |
string | message | Message text. |
string | callsite | Call site. |
string | assemblyVersion | Assembly version. |
string | stackTrace | Stack trace. |
ErrorsEventArgs(DebugLevel, string)
Initializes a new instance of the ErrorsEventArgs class.
Declaration
public ErrorsEventArgs(DebugLevel level, string message)
Parameters
Type | Name | Description |
---|---|---|
DebugLevel | level | Error level. |
string | message | Message text. |
Properties
AssemblyVersion
Gets an assembly version.
Declaration
public string AssemblyVersion { get; }
Property Value
Type | Description |
---|---|
string |
CallSite
Gets a call site.
Declaration
public string CallSite { get; }
Property Value
Type | Description |
---|---|
string |
Level
Gets an error level.
Declaration
public DebugLevel Level { get; }
Property Value
Type | Description |
---|---|
DebugLevel |
Message
Gets a message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |
StackTrace
Gets a stack trace.
Declaration
public string StackTrace { get; }
Property Value
Type | Description |
---|---|
string |
Timestamp
Gets timestamp.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |