AsyncDownloadPolicy Members
Allows you to spot, analyze, and prohibit unwanted download requests.Fields
| Name | Description |
|---|---|
| DefaultBufferSizeForContentCopy static | Gets or sets the size of the buffer. |
| DefaultResponseContentBufferSizeForHttpClient static | Specifies the number of bytes to buffer when reading the response content. |
Properties
| Name | Description |
|---|---|
| IsThrowAlwaysMode static | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
Methods
| Name | Description |
|---|---|
| Equals(Object, Object) static | Determines 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) static | Indicates whether the specified resource is trusted. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| RegisterTrustedUri(Uri) static | Trusts the specified resource. |
| SuppressAll() static | Suppresses all downloads. |
| ThrowAlways() static | Throws an exception when a control initiates a download. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
| Name | Description |
|---|---|
| ConfigureHttpClient static |
Allows 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 static | Fires once the download has completed. |
| Downloading static | Allows you to spot an initiated download, check connection parameters, and cancel (or allow, if the SuppressAll() policy is active) the operation. |
| Failed static | Occurs if an external resource fails to load. |
| Probing static | Allows you to spot the probing of external resources before an actual attempt to download data. |
See Also