Class ExecutionMessage
Represents a message generated while executing an automatic task (see Messages) or performing a package-related operation (see Messages). The message may be relevant to the entire process or to a specific file (see ProjectFileId).
Inheritance
System.Object
ExecutionMessage
Inherited Members
System.Object.ToString()
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: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class ExecutionMessage
Constructors
ExecutionMessage()
Declaration
public ExecutionMessage()
Properties
Exception
Gets the exception that caused the message to be reported. This might not always be available, depending on the type of exception.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |
Level
Gets the severity level of the message.
Declaration
public MessageLevel Level { get; }
Property Value
Type | Description |
---|---|
MessageLevel |
Message
Gets the message text.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
ProjectFileId
Gets the project file to which this message is relevant. This returns
null
if the message is not file-specific.
Declaration
public Guid? ProjectFileId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ProjectFileName
Gets the project file name to which this message is relevant. This returns
null
if the message is not file-specific.
Declaration
public string ProjectFileName { get; }
Property Value
Type | Description |
---|---|
System.String |
Source
Gets a friendly name for the component that generated the message.
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
System.String |