Search Results for

    Show / Hide Table of Contents

    Class DocumentErrorEventArgs

    Event argument representing an error related to a document.

    Inheritance
    System.Object
    System.EventArgs
    DocumentEventArgs
    DocumentErrorEventArgs
    Inherited Members
    DocumentEventArgs.Document
    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 : DocumentEventArgs

    Constructors

    DocumentErrorEventArgs(Document, Exception)

    Creates a document error event argument.

    Declaration
    public DocumentErrorEventArgs(Document document, Exception exception)
    Parameters
    Type Name Description
    Document 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.

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • DocumentErrorEventArgs(Document, Exception)
    • Properties
      • Exception
      • Handled
    • Extension Methods
    Back to top Generated by DocFX