Class ScriptLogMessage
A script log message
Inheritance
System.Object
ScriptLogMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.Data
Assembly: ImageVault.Common.dll
Syntax
public class ScriptLogMessage
Constructors
ScriptLogMessage(ScriptPart)
Constructor for a success message
Declaration
public ScriptLogMessage(ScriptPart scriptPart)
Parameters
Type | Name | Description |
---|---|---|
ScriptPart | scriptPart |
ScriptLogMessage(ScriptPart, Exception)
Constructor for a failed message
Declaration
public ScriptLogMessage(ScriptPart scriptPart, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
ScriptPart | scriptPart | |
System.Exception | exception |
ScriptLogMessage(String)
Constructor for an info message
Declaration
public ScriptLogMessage(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Properties
Exception
The exception related to the message
Declaration
public Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception |
LogType
Type of message
Declaration
public ScriptLogTypes LogType { get; set; }
Property Value
Type | Description |
---|---|
ScriptLogTypes |
ScriptPart
Related ScriptPart
Declaration
public ScriptPart ScriptPart { get; set; }
Property Value
Type | Description |
---|---|
ScriptPart |
Text
Descriptive text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Time
Time for the message
Declaration
public DateTime Time { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()