ChatRoomFileUploadJob Class

Definition

Provides metadata and controls for handling a file upload operation with a chat room.

public ref class ChatRoomFileUploadJob
public class ChatRoomFileUploadJob
type ChatRoomFileUploadJob = class
Public Class ChatRoomFileUploadJob
Inheritance
ChatRoomFileUploadJob

Constructors

Name Description
ChatRoomFileUploadJob(FileInfo)

Initializes a new instance of the ChatRoomFileUploadJob class.

Properties

Name Description
FileToUpload

Gets the file to upload.

PercentComplete

Gets the percent complete.

Methods

Name Description
CancelJob()

Cancels the job. This request is issued asynchronously. When the cancellation is made effective, the ProgressChanged event will be fired, and the Cancelled property will be set to true.

PerformUpload(IAsyncResult)

Performs the transfer.

Events

Name Description
ProgressChanged

Occurs when file transfer progress has changed.

Applies to