WebApplicationFactoryClientOptions.MaxAutomaticRedirections Özellik

Tanım

HttpClientÇağırarak, çağıran tarafından oluşturulan örneklerin izlemesi gereken en fazla yeniden yönlendirme yanıtı sayısını alır veya ayarlar CreateClient(WebApplicationFactoryClientOptions) . Varsayılan değer 7 'dir.

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

Int32

Şunlara uygulanır