Delegate DownloadFileAsyncCallback
- Namespace
- TheArtOfDev.HtmlRenderer.Core.Handlers
- Assembly
- StockSharp.Xaml.dll
On download file async complete, success or fail.
public delegate void DownloadFileAsyncCallback(Uri imageUri, byte[] body, Exception error, bool canceled)
Parameters
imageUri
UriThe online image uri
body
byte[]the path to the downloaded file
error
Exceptionthe error if download failed
canceled
boolis the file download request was canceled
- Extension Methods
Constructors
DownloadFileAsyncCallback(object, IntPtr)
public DownloadFileAsyncCallback(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(Uri, byte[], Exception, bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Uri imageUri, byte[] body, Exception error, bool canceled, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(Uri, byte[], Exception, bool)
public virtual void Invoke(Uri imageUri, byte[] body, Exception error, bool canceled)