ChatRoomSession.EndUploadFile(IAsyncResult) Method

Definition

Completes the asynchronous request initiated by BeginUploadFile(ChatRoomFileUploadJob, AsyncCallback, Object)

public:
 System::String ^ EndUploadFile(IAsyncResult ^ asyncResult);
public string EndUploadFile (IAsyncResult asyncResult);
member this.EndUploadFile : IAsyncResult -> string
Public Function EndUploadFile (asyncResult As IAsyncResult) As String

Parameters

asyncResult
IAsyncResult

The IAsyncResult that references this operation.

Returns

The URI of the file which was uploaded

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