Aracılığıyla paylaş


WebApplicationFactoryClientOptions.MaxAutomaticRedirections Özellik

Tanım

Çağrılarak CreateClient(WebApplicationFactoryClientOptions) oluşturulan örneklerin izlemesi gereken en fazla yeniden yönlendirme yanıtı HttpClient sayısını alır veya ayarlar. Varsayılan değer: 7.

public:
 property int MaxAutomaticRedirections { int get(); void set(int value); };
public int MaxAutomaticRedirections { get; set; }
member this.MaxAutomaticRedirections : int with get, set
Public Property MaxAutomaticRedirections As Integer

Özellik Değeri

Şunlara uygulanır