Class UserCancelledException
Exception thrown to indicate that the user has explicitly requested an operation to be aborted.
Inheritance
Implements
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public class UserCancelledException : Exception, ISerializable, _Exception
Remarks
Applications can use this exception to handle user interaction in event handlers and other delegates. If the user cancels the operation during a callback the application can throw this exception from the callback and handle it separate from other exception types in the top-level originating call.
This exception is explicitly NOT derived from File
Constructors
UserCancelledException()
Cancel without message.
Declaration
public UserCancelledException()
Remarks
Applications can use this exception to handle user interaction in event handlers and other delegates. If the user cancels the operation during a callback the application can throw this exception from the callback and handle it separate from other exception types in the top-level originating call.
This exception is explicitly NOT derived from File
UserCancelledException(SerializationInfo, StreamingContext)
Protected constructor used for de-serialization.
Declaration
protected UserCancelledException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
info | |
Streaming |
context |
Remarks
Applications can use this exception to handle user interaction in event handlers and other delegates. If the user cancels the operation during a callback the application can throw this exception from the callback and handle it separate from other exception types in the top-level originating call.
This exception is explicitly NOT derived from File
UserCancelledException(String)
Cancel with a message.
Declaration
public UserCancelledException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message |
Remarks
Applications can use this exception to handle user interaction in event handlers and other delegates. If the user cancels the operation during a callback the application can throw this exception from the callback and handle it separate from other exception types in the top-level originating call.
This exception is explicitly NOT derived from File
UserCancelledException(String, Exception)
Cancel with a message and a related exception.
Declaration
public UserCancelledException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Exception | inner |
Remarks
Applications can use this exception to handle user interaction in event handlers and other delegates. If the user cancels the operation during a callback the application can throw this exception from the callback and handle it separate from other exception types in the top-level originating call.
This exception is explicitly NOT derived from File