GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    SpreadsheetCalculationException Class

    Namespace:
    GemBox.Spreadsheet.CalculationEngine
    Assembly:
    GemBox.Spreadsheet.dll

    Represents errors that can occur in GemBox.Spreadsheet formula calculation process.

    • C#
    • VB.NET
    public sealed class SpreadsheetCalculationException : SpreadsheetException, ISerializable, _Exception
    Public NotInheritable Class SpreadsheetCalculationException
        Inherits SpreadsheetException
        Implements ISerializable, _Exception
    Inheritance:
    System.Object
    System.Exception
    SpreadsheetException
    SpreadsheetCalculationException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    Properties

    Error

    Gets the calculation error type.

    • C#
    • VB.NET
    public SpreadsheetCalculationError Error { get; }
    Public ReadOnly Property Error As SpreadsheetCalculationError
    Property Value
    SpreadsheetCalculationError

    The calculation error type.

    Methods

    GetErrorValue(SpreadsheetCalculationError)

    Gets the string value for provided calculation error type.

    • C#
    • VB.NET
    public static string GetErrorValue(SpreadsheetCalculationError error)
    Public Shared Function GetErrorValue(error As SpreadsheetCalculationError) As String
    Parameters
    error
    SpreadsheetCalculationError

    The calculation error type.

    Returns
    System.String

    String value representing provided calculation error type.

    GetObjectData(SerializationInfo, StreamingContext)

    Adds additional exception data to the System.Runtime.Serialization.SerializationInfo.

    • C#
    • VB.NET
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Public Overrides Sub GetObjectData(info As SerializationInfo, context As StreamingContext)
    Parameters
    info
    System.Runtime.Serialization.SerializationInfo

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

    context
    System.Runtime.Serialization.StreamingContext

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

    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.