HttpResponseMessage.IsSuccessStatusCode Property

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

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public bool IsSuccessStatusCode { get; }

Property Value

Type: System.Boolean
Show: