Class ChangeNotAllowedException
Base class of exceptions thrown when attempting to change an object that must not be changed.
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.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 |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | info |
System.Runtime.Serialization.StreamingContext | context | context |
ChangeNotAllowedException(String, String)
Source and message constructor
Declaration
public ChangeNotAllowedException(string source, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | source |
System.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 |
---|---|---|
System.String | source | source |
System.String | message | message |
System.Exception | inner | inner exception |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception