GetHTTPError Method
See Also Example Applies To
Returns a string with a text description of the HTTP status code.
Syntax
object.GetHTTPError (ErrorNumber)
| Part |
Description |
| object |
An object expression that evaluates to an XMLRPCUtility object. |
| ErrorNumber |
Required. An integer (type Integer) which is the HTTP status code. |
Remarks
When the remote XML-RPC server responds it sends an HTTP status code. If this code is 200 it means OK, otherwise it means there is an issue with the transfer.e.g. Error code 404 means "Not Found - The server has not found anything matching the requested URI (Uniform Resource Identifier)"
An example of the code fragment needed is below:
Dim X as New XMLRPCUtility ' The Utility object
Print X.GetHTTPError(HTTPStatusCode)
|