MindFusion.Wpf Pack Programmer's Guide
IExpressionEvaluatorContext.GetError Method
See Also
 





Returns an error object of the specified type.

Namespace: MindFusion.Spreadsheet.Wpf.Expressions
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

Object GetError (
    ErrorType errorType,
    string message
)

Visual Basic  Copy Code

Function GetError( _
    errorType As ErrorType, _
    message As String _
) As Object

 Parameters

errorType

One of the ErrorType constants identifying the type of the error.

message

The message associated with the error.

 Return Value

An error object of the specified type.

 Remarks

This method can be used when a custom function needs to return an error.

 See Also

IExpressionEvaluatorContext Members
IExpressionEvaluatorContext Interface
MindFusion.Spreadsheet.Wpf.Expressions Namespace