Dela via


RequestTimeoutPolicy.TimeoutStatusCode Property

Definition

Status code to be set in response when a timeout results in an OperationCanceledException being caught by the middleware. The status code cannot be applied if the response has already started. 504 will be used if none is specified.

public int? TimeoutStatusCode { get; init; }
member this.TimeoutStatusCode : Nullable<int> with get, set
Public Property TimeoutStatusCode As Nullable(Of Integer)

Property Value

Applies to