ChatRoomSession.EndDownloadFile(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginDownloadFile(ChatRoomFileDownloadJob, AsyncCallback, Object)

public:
 void EndDownloadFile(IAsyncResult ^ asyncResult);
public void EndDownloadFile (IAsyncResult asyncResult);
member this.EndDownloadFile : IAsyncResult -> unit
Public Sub EndDownloadFile (asyncResult As IAsyncResult)

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Exceptions

asyncResult is null.

The chat server encountered an error processing the request.

The PersistentChatEndpoint encountered an error communicating with the chat server.

This method was invoked multiple times with the same IAsyncResult instance.

Applies to