[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.WebRequestResult

Class WebRequestResult

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents the result of a web request, including the success status, the response content, any connection failure, and the HTTP status code.

public class WebRequestResult
Inheritance
object
WebRequestResult
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

WebRequestResult()

public WebRequestResult()

Properties

IsConnectionFailed

Gets or sets a value indicating whether the web request failed due to a connection issue.

public bool IsConnectionFailed { get; set; }

Property Value

bool

ResponseContent

Gets or sets the response content from the web request, if the request was successful. The content is stored as a byte array to preserve the original data format.

public byte[] ResponseContent { get; set; }

Property Value

byte[]

StatusCode

Gets or sets the HTTP status code of the web request.

public int StatusCode { get; set; }

Property Value

int