Class DocumentErrorEventArgs
Event argument representing an error related to a document.
Inherited Members
EventArgs.Empty
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
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 |
|---|---|
| Boolean |
Remarks
Setting this to true suppresses an error message being shown.