Search Results for

    Show / Hide Table of Contents

    Class InvalidEditOperationException

    Exception thrown by API clients handling the EditOperationCompleting event to prevent interactive editing operations from completing.

    Inheritance
    object
    Exception
    ChangeNotAllowedException
    InvalidEditOperationException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    Namespace: Sdl.DesktopEditor.EditorApi
    Assembly: Sdl.DesktopEditor.EditorApi.dll
    Syntax
    public class InvalidEditOperationException : ChangeNotAllowedException, ISerializable, _Exception
    Remarks

    You can throw this exception (or one derived from it) in an event handler to the EditOperationCompleting in order to explicitly prevent an edit operation attempted by the user. The message you pass in this exception will in that case be passed to the AfterEditOperationAborted event, and may be shown to the user to explain why the edit was not permitted.

    Constructors

    InvalidEditOperationException()

    Prevent edit without explanation.

    Declaration
    public InvalidEditOperationException()

    InvalidEditOperationException(SerializationInfo, StreamingContext)

    Constructor used in serialization.

    Declaration
    protected InvalidEditOperationException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context

    InvalidEditOperationException(string, string)

    Prevent edit with message explaining why the edit is not permitted.

    Declaration
    public InvalidEditOperationException(string source, string message)
    Parameters
    Type Name Description
    string source

    name of the component that generates the execption

    string message

    InvalidEditOperationException(string, string, Exception)

    mesage and inner exception

    Declaration
    public InvalidEditOperationException(string source, string message, Exception inner)
    Parameters
    Type Name Description
    string source

    name of the component that generates the execption

    string message
    Exception inner

    Implements

    ISerializable
    _Exception

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Constructors
      • InvalidEditOperationException()
      • InvalidEditOperationException(SerializationInfo, StreamingContext)
      • InvalidEditOperationException(string, string)
      • InvalidEditOperationException(string, string, Exception)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX