StorageResourceCreationMode Enum
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.
Defines the behavior when a transfer resource already exists.
public enum StorageResourceCreationMode
type StorageResourceCreationMode =
Public Enum StorageResourceCreationMode
- Inheritance
-
StorageResourceCreationMode
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default value. This will be FailIfExists or, when resuming a transfer, it will use the value that was used when first starting the transfer. Any other value will override the behavior on resume. NOTE: If a transfer was paused/stopped before all resources were enumerated, any unenumerated resource will use the value of FailIfExists on resume. |
FailIfExists | 1 | If the resource already exists in the destination path, a failure will be thrown. The value for ErrorMode will determine if the transfer continues after the failure or not. |
OverwriteIfExists | 2 | Overwrites the resource if it already exists. No error will be thrown. |
SkipIfExists | 3 | If the resource already exists in the destination path, no failure will be thrown. The resource will simply be skipped over and the transfer will continue. If ErrorHandlingOptions.StopOnAnyFailures is set, the resource will still be skipped. |
Applies to
제품 | 버전 |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET 피드백
Azure SDK for .NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.