Editare

Partajați prin


HttpResponseMessage.IsSuccessStatusCode Property

Definition

Gets a value that indicates if the HTTP response was successful.

public:
 property bool IsSuccessStatusCode { bool get(); };
public bool IsSuccessStatusCode { get; }
member this.IsSuccessStatusCode : bool
Public ReadOnly Property IsSuccessStatusCode As Boolean

Property Value

true if StatusCode was in the range 200-299; otherwise, false.

Applies to