Show / Hide Table of Contents

Class ErrorHandlingResult

Gets the result of an attempt to handle an error.

Inheritance
System.Object
ErrorHandlingResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.Abstractions.dll
Syntax
public class ErrorHandlingResult

Properties

| Improve this Doc View Source

Failure

Gets an instance which represents an unsuccessful attempt to handle an error.

Declaration
public static ErrorHandlingResult Failure { get; }
Property Value
Type Description
ErrorHandlingResult

The failure result.

| Improve this Doc View Source

IsSuccess

Gets a value indicating whether this ErrorHandlingResult was a success.

Declaration
public bool IsSuccess { get; }
Property Value
Type Description
System.Boolean

true if the attempt was a success; otherwise, false.

| Improve this Doc View Source

Result

Gets the result of the error-handling attempt.

Declaration
public ExpressionContextProcessingResult Result { get; }
Property Value
Type Description
ExpressionContextProcessingResult

The result.

Methods

| Improve this Doc View Source

Success(ExpressionContextProcessingResult)

Gets an instance which represents successfully handling an error.

Declaration
public static ErrorHandlingResult Success(ExpressionContextProcessingResult result)
Parameters
Type Name Description
ExpressionContextProcessingResult result

Result.

Returns
Type Description
ErrorHandlingResult

The success result.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX