Compartir a través de


MockHttpRequestMiddleware.SetFallback Método

Definición

Establecer reserva.

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))

Parámetros

fallback
Func<HttpRequestMessage,HttpResponseMessage>

Nueva reserva o null.

Se aplica a