MockHttpRequestMiddleware.SetFallback(Func<HttpRequestMessage,HttpResponseMessage>) Methode

Definition

Legen Sie Fallback fest.Set fallback.

public void SetFallback (Func<System.Net.Http.HttpRequestMessage,System.Net.Http.HttpResponseMessage> fallback);
member this.SetFallback : Func<System.Net.Http.HttpRequestMessage, System.Net.Http.HttpResponseMessage> -> unit
Public Sub SetFallback (fallback As Func(Of HttpRequestMessage, HttpResponseMessage))

Parameter

fallback
Func<HttpRequestMessage,HttpResponseMessage>

Neuer Fall Back oder NULL.New fallback or null.

Gilt für: