Class DocumentErrorEventArgs
Event argument representing an error related to a document.
Inherited Members
      System.EventArgs.Empty
    
    
      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.TranslationStudioAutomation.IntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
public class DocumentErrorEventArgs : DocumentEventArgsConstructors
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. | 
| System.Exception | exception | The exception. | 
Properties
Exception
Gets the exception.
Declaration
public Exception Exception { get; }Property Value
| Type | Description | 
|---|---|
| System.Exception | The exception. | 
Handled
Gets or sets whether the error was handled.
Declaration
public bool Handled { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
Setting this to true suppresses an error message being shown.