WebApplicationFactoryClientOptions.AllowAutoRedirect Eigenschaft

Definition

Ruft ab oder legt fest, ob durch aufrufen CreateClient(WebApplicationFactoryClientOptions) erstellte Instanzen automatisch Umleitungsantworten folgen sollen.HttpClient Der Standardwert ist 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

Eigenschaftswert

Gilt für: