Udostępnij za pośrednictwem


WebError.GetStatus(Int32) Method

Definition

Gets a WebErrorStatus value based on an error encountered by a web service operation.

public:
 static WebErrorStatus GetStatus(int hresult);
 static WebErrorStatus GetStatus(int const& hresult);
public static WebErrorStatus GetStatus(int hresult);
function getStatus(hresult)
Public Shared Function GetStatus (hresult As Integer) As WebErrorStatus

Parameters

hresult
Int32

int

The error encountered by a web service operation represented as an hResult.

Returns

The error status value for a web service operation.

Applies to

See also