ChaosHandlerOption.PlannedChaosFactory Property

Definition

Function to return chaos response based on current request. This is used to reproduce detected failure modes.

public Func<System.Net.Http.HttpRequestMessage,System.Net.Http.HttpResponseMessage> PlannedChaosFactory { get; set; }
member this.PlannedChaosFactory : Func<System.Net.Http.HttpRequestMessage, System.Net.Http.HttpResponseMessage> with get, set
Public Property PlannedChaosFactory As Func(Of HttpRequestMessage, HttpResponseMessage)

Property Value

Applies to