WebError.GetStatus(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.