Back to Devexpress

AsyncDownloadPolicy Members

corelibraries-devexpress-dot-data-dot-asyncdownloadpolicy-dot-underscore-members.md

latest4.6 KB
Original Source

AsyncDownloadPolicy Members

Allows you to spot, analyze, and prohibit unwanted download requests.

Fields

NameDescription
DefaultBufferSizeForContentCopy staticGets or sets the size of the buffer.
DefaultResponseContentBufferSizeForHttpClient staticSpecifies the number of bytes to buffer when reading the response content.

Properties

NameDescription
IsThrowAlwaysMode staticThis member supports the internal infrastructure, and is not intended to be used directly from your code.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
IsTrustedUri(Uri, AccessSettings) staticIndicates whether the specified resource is trusted.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RegisterTrustedUri(Uri) staticTrusts the specified resource.
SuppressAll() staticSuppresses all downloads.
ThrowAlways() staticThrows an exception when a control initiates a download.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
ConfigureHttpClient staticAllows you to customize settings of a standard HttpClient component that DevExpress components use to download data (the default proxy, base address, cache size, and more).
Downloaded staticFires once the download has completed.
Downloading staticAllows you to spot an initiated download, check connection parameters, and cancel (or allow, if the SuppressAll() policy is active) the operation.
Failed staticOccurs if an external resource fails to load.
Probing staticAllows you to spot the probing of external resources before an actual attempt to download data.

See Also

AsyncDownloadPolicy Class

DevExpress.Data Namespace