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

ChatRoomFileUploadJob(FileInfo)

Initializes a new instance of the ChatRoomFileUploadJob class.

Properties

FileToUpload

Gets the file to upload.

PercentComplete

Gets the percent complete.

Methods

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

ProgressChanged

Occurs when file transfer progress has changed.

Applies to