Share via


TransferItemCompletedEventArgs Class

Definition

Event Argument for a change in the Transfer Status

public class TransferItemCompletedEventArgs : Azure.Storage.DataMovement.TransferEventArgs
public class TransferItemCompletedEventArgs : Azure.Storage.DataMovement.DataTransferEventArgs
type TransferItemCompletedEventArgs = class
    inherit TransferEventArgs
type TransferItemCompletedEventArgs = class
    inherit DataTransferEventArgs
Public Class TransferItemCompletedEventArgs
Inherits TransferEventArgs
Public Class TransferItemCompletedEventArgs
Inherits DataTransferEventArgs
Inheritance
TransferItemCompletedEventArgs
Inheritance
TransferItemCompletedEventArgs

Constructors

TransferItemCompletedEventArgs(String, StorageResourceItem, StorageResourceItem, Boolean, CancellationToken)

Initializes a new instance of the TransferItemFailedEventArgs.

Properties

CancellationToken

Gets a cancellation token related to the original operation that raised the event. It's important for your handler to pass this token along to any asynchronous or long-running synchronous operations that take a token so cancellation (via something like

new CancellationTokenSource(TimeSpan.FromSeconds(10)).Token

for example) will correctly propagate.

(Inherited from SyncAsyncEventArgs)
Destination

Gets the StorageResourceItem that was the destination resource for the transfer.

DestinationResource

Gets the StorageResourceItem that was the destination resource for the transfer.

IsRunningSynchronously

Gets a value indicating whether the event handler was invoked synchronously or asynchronously. Please see SyncAsyncEventHandler<T> for more details.

(Inherited from SyncAsyncEventArgs)
Source

Gets the StorageResourceItem that was the source resource for the transfer.

SourceResource

Gets the StorageResourceItem that was the source resource for the transfer.

TransferId

Transfer id.

(Inherited from TransferEventArgs)
TransferId

Job ID.

(Inherited from DataTransferEventArgs)

Applies to