WebApplicationFactoryClientOptions.AllowAutoRedirect Properti

Definisi

Mendapatkan atau mengatur apakah HttpClient instans yang dibuat dengan panggilan CreateClient(WebApplicationFactoryClientOptions) harus secara otomatis mengikuti respons pengalihan. Default adalah 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

Nilai Properti

Berlaku untuk