Class ChangeNotAllowedException
Base class of exceptions thrown when attempting to change an object that must not be changed.
Inherited Members
Namespace: SdlSdl.DesktopEditorEditorApi
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 |