SpreadsheetCalculationException Class
Represents errors that can occur in GemBox.Spreadsheet formula calculation process.
public sealed class SpreadsheetCalculationException : SpreadsheetException, ISerializable, _Exception
Public NotInheritable Class SpreadsheetCalculationException
Inherits SpreadsheetException
Implements ISerializable, _Exception
- Inheritance:
- System.ObjectSystem.ExceptionSpreadsheetCalculationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Properties
Error
Gets the calculation error type.
public SpreadsheetCalculationError Error { get; }
Public ReadOnly Property Error As SpreadsheetCalculationError
Property Value
The calculation error type.
Methods
GetErrorValue(SpreadsheetCalculationError)
Gets the string value for provided calculation error type.
public static string GetErrorValue(SpreadsheetCalculationError error)
Public Shared Function GetErrorValue(error As SpreadsheetCalculationError) As String
Parameters
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.
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
<SecurityCritical>
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