Search Results for

    Show / Hide Table of Contents

    Class HttpRequestException

    A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.

    Inheritance
    object
    Exception
    HttpRequestException
    Inherited Members
    Exception.HResult
    Exception.ToString()
    Exception.Message
    Exception.InnerException
    Exception.StackTrace
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: System.Net.Http
    Assembly: System.Net.Http.dll
    Syntax
    public class HttpRequestException : Exception

    Constructors

    HttpRequestException()

    Initializes a new instance of the HttpRequestException class.

    Declaration
    public HttpRequestException()

    HttpRequestException(string, Exception)

    Initializes a new instance of the HttpRequestException class.

    Declaration
    public HttpRequestException(string message, Exception inner)
    Parameters
    Type Name Description
    string message

    A message that describes the current exception.

    Exception inner

    The inner exception.

    HttpRequestException(string)

    Initializes a new instance of the HttpRequestException class.

    Declaration
    public HttpRequestException(string message)
    Parameters
    Type Name Description
    string message

    A message that describes the current exception.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX