Show / Hide Table of Contents

    Class HttpWebRequestAsyncResult

    An asynchronous result object returning the result of an HTTP Request

    Inheritance
    System.Object
    DeviceAsyncResult
    HttpWebRequestAsyncResult
    Implements
    System.IAsyncResult
    Inherited Members
    DeviceAsyncResult.AsyncState
    DeviceAsyncResult.CompletedSynchronously
    DeviceAsyncResult.IsCompleted
    DeviceAsyncResult.AsyncWaitHandle
    DeviceAsyncResult.Complete(Exception, Boolean)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Eclo.nF.SIM800H
    Assembly: cs.temp.dll.dll
    Syntax
    public class HttpWebRequestAsyncResult : DeviceAsyncResult, IAsyncResult

    Constructors

    HttpWebRequestAsyncResult(HttpWebRequest, Boolean, Boolean, Boolean, Int32, AsyncCallback, Object)

    Declaration
    public HttpWebRequestAsyncResult(HttpWebRequest request, bool readResponseData = false, bool readResponseHeaders = false, bool closeConnectionOnCompletion = true, int readTimeout = 5000, AsyncCallback asyncCallback = null, object asyncState = null)
    Parameters
    Type Name Description
    HttpWebRequest request
    System.Boolean readResponseData
    System.Boolean readResponseHeaders
    System.Boolean closeConnectionOnCompletion
    System.Int32 readTimeout
    System.AsyncCallback asyncCallback
    System.Object asyncState

    Fields

    HttpResponse

    The device HTTP response object after the call is completed. RequestSuccessful property is false if request couldn't be completed for any reason

    Declaration
    public HttpWebResponse HttpResponse
    Field Value
    Type Description
    HttpWebResponse

    Properties

    _closeConnectionOnCompletion

    Declaration
    public bool _closeConnectionOnCompletion { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    End()

    Finishes the asynchronous processing and throws an exception if one was generated Blocks until the asynchronous processing has completed

    Declaration
    public HttpWebResponse End()
    Returns
    Type Description
    HttpWebResponse

    Returns the SMS

    Process()

    The method used to perform the asynchronous processing

    Declaration
    public override void Process()
    Overrides
    DeviceAsyncResult.Process()

    Implements

    System.IAsyncResult
    Back to top Copyright © 2018 Eclo Solutions
    Generated by DocFX