public virtual byte[] EndDownloadByteArray(
IAsyncResult asyncResult
)Public Overridable Function EndDownloadByteArray (
asyncResult As IAsyncResult
) As Byte()public:
virtual array<unsigned char>^ EndDownloadByteArray(
IAsyncResult^ asyncResult
)abstract EndDownloadByteArray :
asyncResult : IAsyncResult -> byte[]
override EndDownloadByteArray :
asyncResult : IAsyncResult -> byte[] Before calling BeginDownloadByteArray(String, AsyncCallback, Object), you need to create a callback method that implements the AsyncCallback delegate. This callback method executes in a separate thread and is called by the system after BeginDownloadByteArray(String, AsyncCallback, Object) returns. The callback method must accept the IAsyncResult returned by the BeginDownloadByteArray(String, AsyncCallback, Object) method as a parameter. This parameter may then be passed to the EndDownloadByteArray method to complete the operation.