Condividi tramite


WebApplicationFactoryClientOptions.AllowAutoRedirect Proprietà

Definizione

Ottiene o imposta se HttpClient le istanze create dalla chiamata CreateClient(WebApplicationFactoryClientOptions) devono seguire automaticamente le risposte di reindirizzamento. Il valore predefinito è true.

public:
 property bool AllowAutoRedirect { bool get(); void set(bool value); };
public bool AllowAutoRedirect { get; set; }
member this.AllowAutoRedirect : bool with get, set
Public Property AllowAutoRedirect As Boolean

Valore della proprietà

Si applica a