Search Results for

    Show / Hide Table of Contents

    Class UserCancelledException

    Exception thrown to indicate that the user has explicitly requested an operation to be aborted.

    Inheritance
    object
    Exception
    UserCancelledException
    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.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 FileTypeSupportException, so that it does not get caught in regular exception handlers for file type support exceptions.

    Constructors

    UserCancelledException()

    Cancel without message.

    Declaration
    public UserCancelledException()

    UserCancelledException(SerializationInfo, StreamingContext)

    Protected constructor used for de-serialization.

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

    UserCancelledException(string)

    Cancel with a message.

    Declaration
    public UserCancelledException(string message)
    Parameters
    Type Name Description
    string message

    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

    Implements

    ISerializable
    _Exception
    In this article
    • Constructors
      • UserCancelledException()
      • UserCancelledException(SerializationInfo, StreamingContext)
      • UserCancelledException(string)
      • UserCancelledException(string, Exception)
    • Implements
    Back to top Generated by DocFX