Share via


Sys.Net.WebServiceError Class

Represents the object type returned to the browser when a Web service issues an error.

Namespace: Sys.Net

Inherits: None

Members

Name

Description

Sys.Net.WebServiceError Constructor

Initializes a new instance of the Sys.Net.WebServiceError class when implemented in a derived class.

Sys.Net.WebServiceError exception Property

Gets the exception type of the error.

Sys.Net.WebServiceError message Property

Gets the error message returned by the error.

Sys.Net.WebServiceError.statusCode Property

Gets the status code for the HTTP response.

Sys.Net.WebServiceError stackTrace Property

Gets the stack trace returned by the server.

Sys.Net.WebServiceError.timedOut Property

Gets a value that indicates whether the Web service failed because it timed out.

Remarks

The WebServiceError is the type of the object returned to the failed callback function.

Example

Description

The following example shows how a failed callback function accesses the WebServiceError object. For more information, see Calling Web Services from Client Script.

See Also

Concepts

Calling Web Services from Client Script

Reference

Sys.Net.XMLHttpExecutor Class

Sys.Net.WebRequestManager Class