| TransferErrorCode Enumeration | 
 
            Error codes for TransferException.
            
 
    Namespace: 
   Microsoft.Azure.Storage.DataMovement
    Assembly:
   Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
 Syntax
Syntaxpublic enum TransferErrorCode
Public Enumeration TransferErrorCode
public enum class TransferErrorCode
 Members
Members|  | Member name | Value | Description | 
|---|
|  | None | 0 | No error. | 
|  | OpenFileFailed | 3 | Failed to open file for upload or download. | 
|  | UploadSourceFileSizeTooLarge | 4 | The file to transfer is too large for the destination. | 
|  | UploadBlobSourceFileSizeInvalid | 5 | The file size is invalid for the specified blob type. | 
|  | OperationCanceled | 6 | User canceled. | 
|  | LocalToLocalTransfersUnsupported | 7 | Both Source and Destination are locally accessible locations.
            At least one of source and destination should be an Azure Storage location. | 
|  | AsyncCopyFailed | 8 | Failed to do asynchronous copy. | 
|  | SameSourceAndDestination | 9 | Source and destination are the same. | 
|  | MismatchCopyId | 10 | AsyncCopyController detects mismatch between copy id stored in transfer entry and 
            that retrieved from server. | 
|  | FailToRetrieveCopyStateForObject | 11 | AsyncCopyControler fails to retrieve CopyState for the object which we are to monitor. | 
|  | FailToAllocateMemory | 12 | Fails to allocate memory in MemoryManager. | 
|  | FailToGetSourceLastWriteTime | 13 | Fails to get source's last write time. | 
|  | NotOverwriteExistingDestination | 14 | User choose not to overwrite existing destination. | 
|  | TransferAlreadyExists | 15 | Transfer with the same source and destination already exists. | 
|  | FailToEnumerateDirectory | 16 | Fails to enumerate directory. | 
|  | FailToVadlidateDestination | 17 | Fails to validate destination. | 
|  | SubTransferFails | 18 | Sub transfer fails. | 
|  | UploadFileSourceFileSizeInvalid | 19 | The source file size is invalid for azure file. | 
|  | FailedToCreateDirectory | 20 | Failed to create directory because a file already exists with the same name. | 
|  | UnsupportedDummyTransfer | 21 | The transfer type didn't support dummy transfer. | 
|  | FailedCheckingShouldTransfer | 22 | Failed when trying in ShouldTransferCallbackAsync. | 
|  | Unknown | 32 | Uncategorized transfer error. | 
 See Also
See Also