TransferContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the context for a transfer, and provides additional runtime information about its execution.
public abstract class TransferContext
type TransferContext = class
Public MustInherit Class TransferContext
- Inheritance
-
TransferContext
- Derived
Constructors
TransferContext() |
Initializes a new instance of the TransferContext class. |
TransferContext(Stream) |
Initializes a new instance of the TransferContext class. |
TransferContext(TransferCheckpoint) |
Initializes a new instance of the TransferContext class. |
Properties
ClientRequestId |
Gets or sets the client request id. |
LastCheckpoint |
Gets the last checkpoint of the transfer. |
LogLevel |
Gets or sets the logging level to be used for the related transfer operation. |
ProgressHandler |
Gets or sets the progress update handler. |
SetAttributesCallbackAsync |
Gets or sets the callback invoked to set destination's attributes in memory. The attributes set in this callback will be sent to azure storage service. |
ShouldOverwriteCallbackAsync |
Gets or sets the callback invoked to tell whether to overwrite an existing destination. |
Methods
ForceOverwrite(Object, Object) |
Callback used to force overwrite the destination without existence check. It can be used when destination credentials only contains write permission. |
Events
FileFailed |
The event triggered when a file transfer is failed. |
FileSkipped |
The event triggered when a file transfer is skipped. |
FileTransferred |
The event triggered when a file transfer is completed successfully. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기