Share via


QnAMakerOptions.Timeout Property

Definition

Gets or sets the time in milliseconds to wait before the request times out.

public double Timeout { get; set; }
member this.Timeout : double with get, set
Public Property Timeout As Double

Property Value

The time in milliseconds to wait before the request times out. Default is 100000 milliseconds.

Remarks

This property allows users to set Timeout without having to pass in a custom HttpClient to QnAMaker class constructor. If using custom HttpClient, then set Timeout value in HttpClient instead of QnAMakerOptions.Timeout.

Applies to