ArcGIS Pro 2.7 API Reference Guide
EnsureSuccessStatusCode Method

ArcGIS.Desktop.Core Namespace > EsriHttpResponseMessage Class : EnsureSuccessStatusCode Method
Throws an exception if the IsSuccessStatusCode property for the HTTP response is false.
Syntax
public EsriHttpResponseMessage EnsureSuccessStatusCode()
Public Function EnsureSuccessStatusCode() As EsriHttpResponseMessage

Return Value

EsriHttpResponseMessage
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EsriHttpResponseMessage Class
EsriHttpResponseMessage Members