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).
Inherited Members
Namespace: SdlSdl.ProjectAutomationCore
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
Source
Gets a friendly name for the component that generated the message.
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
string |