Share via


Sys.Net.WebServiceError Constructor

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

public function WebServiceError(
    timedOut : Boolean,
    message : String,
    stackTrace : String,
    exceptionType : String
    errorObject : Object
)

Parameters

Parameter

Description

timedOut

true to indicate that the error has timed out; otherwise, false.

message

The error message.

stackTrace

The stack trace for the error.

exceptionType

The server exception type.

errorObject

The raw error information.

Remarks

An instance of this class is returned to the client if the server throws an exception while a request is being processed.

See Also

Concepts

Sys.Net.WebServiceError Class