Class DocumentErrorEventArgs
Event argument representing an error related to a document.
Inherited Members
Namespace: SdlSdl.TranslationStudioAutomationIntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
public class DocumentErrorEventArgs : DocumentEventArgs
Constructors
DocumentErrorEventArgs(IStudioDocument, Exception)
Creates a document error event argument.
Declaration
public DocumentErrorEventArgs(IStudioDocument document, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
IStudioDocument | document | The document for which the error occured. |
Exception | exception | The exception. |
Properties
Exception
Gets the exception.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception | The exception. |
Handled
Gets or sets whether the error was handled.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Setting this to true suppresses an error message being shown.