Class EditOperationAbortedEventArgs
Information about an aborted edit operation.
Inheritance
System.Object
System.EventArgs
EditOperationAbortedEventArgs
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.DesktopEditor.EditorApi
Assembly: Sdl.DesktopEditor.EditorApi.dll
Syntax
public class EditOperationAbortedEventArgs : EventArgs
Constructors
EditOperationAbortedEventArgs()
default constructor
Declaration
public EditOperationAbortedEventArgs()
EditOperationAbortedEventArgs(String, String)
Constructor with abort message.
Declaration
public EditOperationAbortedEventArgs(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | name of the component that caused the edit operation to abort |
System.String | message |
Properties
Document
The affected document.
Declaration
public IDocument Document { get; set; }
Property Value
Type | Description |
---|---|
IDocument |
Message
The message included in the editing exception that was thrown as part of aborting the editing operation. (The exception may or may not have been handled at the time the event is raised.)
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Source
The source that aborted the editing operation.
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |