Table of Contents

Class PolicyResult

Namespace
Polly
Assembly
Polly.dll
public class PolicyResult
Inheritance
PolicyResult
Inherited Members
Extension Methods

Properties

Context

public Context Context { get; }

Property Value

Context

ExceptionType

public ExceptionType? ExceptionType { get; }

Property Value

ExceptionType?

FinalException

public Exception FinalException { get; }

Property Value

Exception

Outcome

public OutcomeType Outcome { get; }

Property Value

OutcomeType

Methods

Failure(Exception, ExceptionType, Context)

public static PolicyResult Failure(Exception exception, ExceptionType exceptionType, Context context)

Parameters

exception Exception
exceptionType ExceptionType
context Context

Returns

PolicyResult

Successful(Context)

public static PolicyResult Successful(Context context)

Parameters

context Context

Returns

PolicyResult