Class SftpUploadAsyncResult
Encapsulates the results of an asynchronous upload operation.
public class SftpUploadAsyncResult : AsyncResult, IAsyncResult
- Inheritance
-
SftpUploadAsyncResult
- Implements
- Inherited Members
Constructors
SftpUploadAsyncResult(AsyncCallback, object)
Initializes a new instance of the SftpUploadAsyncResult class.
public SftpUploadAsyncResult(AsyncCallback asyncCallback, object state)
Parameters
asyncCallback
AsyncCallbackThe async callback.
state
objectThe state.
Properties
IsUploadCanceled
Gets or sets a value indicating whether to cancel asynchronous upload operation.
public bool IsUploadCanceled { get; set; }
Property Value
Remarks
Upload operation will be canceled after finishing uploading current buffer.
UploadedBytes
Gets the number of uploaded bytes.
public ulong UploadedBytes { get; }