menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridUserCanceledException - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridUserCanceledException

    Use GridUserCanceledException when the user cancels an operation.

    Inheritance
    System.Object
    System.Exception
    System.ApplicationException
    GridException
    GridUserCanceledException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    GridException.Grid
    System.Exception.Data
    System.Exception.GetBaseException()
    System.Exception.GetType()
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.SerializeObjectState
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridUserCanceledException : GridException, ISerializable, _Exception

    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)

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved