Delegate DownloadFileAsyncCallback
On download file async complete, success or fail.
Namespace: TheArtOfDev.HtmlRenderer.Core.Handlers
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public delegate void DownloadFileAsyncCallback(Uri imageUri, string filePath, Exception error, bool canceled);
Parameters
System.Uri
imageUri
The online image uri |
System.String
filePath
the path to the downloaded file |
System.Exception
error
the error if download failed |
System.Boolean
canceled
is the file download request was canceled |
Constructors
DownloadFileAsyncCallback(Object, IntPtr)
Declaration
public DownloadFileAsyncCallback(object object, IntPtr method)
Parameters
System.Object
object
|
System.IntPtr
method
|
Methods
BeginInvoke(Uri, String, Exception, Boolean, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(Uri imageUri, string filePath, Exception error, bool canceled, AsyncCallback callback, object object)
Parameters
System.Uri
imageUri
|
System.String
filePath
|
System.Exception
error
|
System.Boolean
canceled
|
System.AsyncCallback
callback
|
System.Object
object
|
Returns
System.IAsyncResult
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
System.IAsyncResult
result
|
Invoke(Uri, String, Exception, Boolean)
Declaration
public virtual void Invoke(Uri imageUri, string filePath, Exception error, bool canceled)
Parameters
System.Uri
imageUri
|
System.String
filePath
|
System.Exception
error
|
System.Boolean
canceled
|