alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GridUserCanceledException

    Use GridUserCanceledException when the user cancels an operation.

    Inheritance
    System.Object
    GridException
    GridUserCanceledException
    Inherited Members
    GridException.Grid
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridUserCanceledException : GridException

    Constructors

    GridUserCanceledException()

    Initializes a new instance of GridUserCanceledException.

    Declaration
    public GridUserCanceledException()

    GridUserCanceledException(SerializationInfo, StreamingContext)

    Initializes a new instance of the GridUserCanceledException class from a serialization stream.

    Declaration
    protected GridUserCanceledException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    An object that holds all the data needed to serialize or de-serialize this instance.

    System.Runtime.Serialization.StreamingContext context

    Describes the source and destination of the serialized stream specified by info.

    GridUserCanceledException(String)

    Initializes a new instance of GridUserCanceledException with a specified message.

    Declaration
    public GridUserCanceledException(string message)
    Parameters
    Type Name Description
    System.String message

    The message text.

    GridUserCanceledException(String, Exception)

    Initializes a new instance of GridUserCanceledException with a specified message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public GridUserCanceledException(string message, Exception inner)
    Parameters
    Type Name Description
    System.String message

    The message text

    System.Exception inner

    The source of the exception.

    Properties

    Message

    Gets a message that represents the current exception.

    Declaration
    public override string Message { get; }
    Property Value
    Type
    System.String
    Overrides
    GridException.Message

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Sets the System.Runtime.SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.StreamingContext that contains contextual information about the source or destination.

    Overrides
    GridException.GetObjectData(SerializationInfo, StreamingContext)
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved