Search Results for

    Show / Hide Table of Contents

    Class ChangeNotAllowedException

    Base class of exceptions thrown when attempting to change an object that must not be changed.

    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 ChangeNotAllowedException : Exception, ISerializable, _Exception
    Remarks

    This exception will be thrown by the API e.g. if attempting to directly change filter framework objects that are accessed from a live document in an edit control. (All content changes must be done through operations on the edit control, to ensure that they don't corrupt the undo buffer.)

    Constructors

    ChangeNotAllowedException()

    default constructor

    Declaration
    public ChangeNotAllowedException()

    ChangeNotAllowedException(SerializationInfo, StreamingContext)

    serialization constructor

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

    info

    StreamingContext context

    context

    ChangeNotAllowedException(string, string)

    Source and message constructor

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

    source

    string message

    message

    ChangeNotAllowedException(string, string, Exception)

    Source, message and inner exception constructor

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

    source

    string message

    message

    Exception inner

    inner exception

    Implements

    ISerializable
    _Exception

    Extension Methods

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