Click or drag to resize

JsonResponseEnsureSuccess Method

Ensures that the status code indicates success by throwing an exception for any error related status codes.

Namespace:  Neon.Net
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.10.0
Syntax
public void EnsureSuccess()
Exceptions
ExceptionCondition
HttpExceptionThrown if the response doesn't indicate success.
See Also