C# Class System.Net.Http.WinHttpException

Inheritance: System.ComponentModel.Win32Exception
Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ConvertErrorCodeToHR ( int error ) : int
CreateExceptionUsingError ( int error ) : WinHttpException
CreateExceptionUsingLastError ( ) : WinHttpException
GetErrorMessage ( int error ) : string
ThrowExceptionUsingLastError ( ) : void
WinHttpException ( int error, string message ) : System

Method Details

ConvertErrorCodeToHR() public static method

public static ConvertErrorCodeToHR ( int error ) : int
error int
return int

CreateExceptionUsingError() public static method

public static CreateExceptionUsingError ( int error ) : WinHttpException
error int
return WinHttpException

CreateExceptionUsingLastError() public static method

public static CreateExceptionUsingLastError ( ) : WinHttpException
return WinHttpException

GetErrorMessage() public static method

public static GetErrorMessage ( int error ) : string
error int
return string

ThrowExceptionUsingLastError() public static method

public static ThrowExceptionUsingLastError ( ) : void
return void

WinHttpException() public method

public WinHttpException ( int error, string message ) : System
error int
message string
return System