RequestTimeoutPolicy.TimeoutStatusCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)