11.7.2 IsSuccessfulRequest Property

A boolean value that indicates whether a TCP connection is successfully established with the server.

Reasons for connection failure includes:

When IsSuccessfulRequest is False, you can check the ErrorMessage and ErrorCode property to find out the nature of the error.

Note that IsSuccessfulRequest is concerned only with the TCP-level connection status. It does not deal with HTTP, application-level or domain error, such as invalid authorization tokens. You must handle application-level error in your code by checking the returned HTTP status code and the response body. To check if the returned HTTP status code indicates no error on the HTTP level, use the IsSuccessHttpStatusCode property.

Property Type

Boolean