HttpResponseMessage.IsSuccessStatusCode HttpResponseMessage.IsSuccessStatusCode HttpResponseMessage.IsSuccessStatusCode HttpResponseMessage.IsSuccessStatusCode HttpResponseMessage.IsSuccessStatusCode Property

Definition

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

public : Platform::Boolean IsSuccessStatusCode { get; }
bool IsSuccessStatusCode();
public bool IsSuccessStatusCode { get; }
Public ReadOnly Property IsSuccessStatusCode As bool
var bool = httpResponseMessage.isSuccessStatusCode;

Property Value

bool bool bool

A value that indicates if the HTTP response was successful. true if HttpStatusCode was in the Successful range (200-299); otherwise false.

See also