Class InvalidEditOperationException
Exception thrown by API clients handling the Edit
Implements
Inherited Members
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 Edit
Constructors
InvalidEditOperationException()
Prevent edit without explanation.
Declaration
public InvalidEditOperationException()
Remarks
You can throw this exception (or one derived from it) in an event
handler to the Edit
InvalidEditOperationException(SerializationInfo, StreamingContext)
Constructor used in serialization.
Declaration
protected InvalidEditOperationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
info | |
Streaming |
context |
Remarks
You can throw this exception (or one derived from it) in an event
handler to the Edit
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 |
Remarks
You can throw this exception (or one derived from it) in an event
handler to the Edit
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 |
Remarks
You can throw this exception (or one derived from it) in an event
handler to the Edit