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
)

Parameters

Parameter

Description

timedOut

true if the error has timed out; otherwise, false.

message

The error message.

stackTrace

The stack trace for the error.

exceptionType

The server exception type.

Remarks

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