ChaosHandlerOption.PlannedChaosFactory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)