Table of Contents

Class PolicyWrap<TResult>

Namespace
Polly.Wrap
Assembly
Polly.dll

A policy that allows two (and by recursion more) Polly policies to wrap executions of delegates.

public class PolicyWrap<TResult> : Policy<TResult>, IAsyncPolicy<TResult>, ISyncPolicy<TResult>, IPolicyWrap<TResult>, IPolicyWrap, IsPolicy

Type Parameters

TResult

The return type of delegates which may be executed through the policy.

Inheritance
Policy<TResult>
PolicyWrap<TResult>
Implements
IAsyncPolicy<TResult>
ISyncPolicy<TResult>
IPolicyWrap<TResult>
Inherited Members

Properties

Inner

Returns the next inner IsPolicy in this IPolicyWrap<TResult>

public IsPolicy Inner { get; }

Property Value

IsPolicy

Outer

Returns the outer IsPolicy in this IPolicyWrap<TResult>

public IsPolicy Outer { get; }

Property Value

IsPolicy