Initializes a new instance of the WebServiceException
class.
public WebServiceException()
Initializes a new instance of the WebServiceException
class.
public WebServiceException(string message)
parameter | description |
---|---|
message | The message. |
Initializes a new instance of the WebServiceException
class.
public WebServiceException(string message, Exception innerException)
parameter | description |
---|---|
message | The message. |
innerException | The inner exception. |
Initializes a new instance of the WebServiceException
class.
public WebServiceException(string? message = null, string? requestMethod = null,
Uri? requestUri = null, HttpStatusCode? responseStatusCode = default,
HttpHeaders? responseHeaders = null, string? responseContentType = null,
long? responseContentLength = null, string? responseContentPreview = null,
Exception? innerException = null)
parameter | description |
---|---|
message | The message. |
requestMethod | The request method. |
requestUri | The request URI. |
responseStatusCode | The response status code. |
responseHeaders | The response headers. |
responseContentType | The response content type. |
responseContentLength | The response content length. |
responseContentPreview | A preview of the response content (as a string, possibly abbreviated). |
innerException | The inner exception. |