API Reference
ExcelHttpLoadOptions
Controls HTTP workbook loading behavior for ExcelDocument and ExcelDocumentReader.
Inheritance
- Object
- ExcelHttpLoadOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method ExcelDocument.Load
- Method ExcelDocument.LoadAsync
- Method ExcelDocumentReader.Open
- Method ExcelDocumentReader.OpenAsync
Constructors
public ExcelHttpLoadOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public ExcelUriSchemePolicy SchemePolicy { get; set; } #Gets or sets the allowed URI schemes. Defaults to HTTPS only.
public Int64 MaxBytes { get; set; } #Gets or sets the maximum number of response bytes that may be downloaded.
public TimeSpan Timeout { get; set; } #Gets or sets the timeout applied to the HTTP request and response copy.
public String UserAgent { get; set; } #Gets or sets the user agent sent when a User-Agent header is not provided in Headers. Set to null to suppress the default user agent.
public IDictionary<String, String> Headers { get; } #Gets headers to send with the HTTP GET request.
public Boolean ValidateZipHeader { get; set; } #Gets or sets whether the downloaded workbook must look like a ZIP/OpenXML package.
public Boolean ValidateContentTypeWhenPresent { get; set; } #Gets or sets whether response Content-Type should be validated when present.
public ISet<String> AllowedContentTypes { get; } #Gets the accepted media types used when ValidateContentTypeWhenPresent is enabled.
public IProgress<ExcelHttpLoadProgress> Progress { get; set; } #Gets or sets an optional progress sink invoked as response bytes are copied.