CloudBlob.DeleteIfExistsAsync メソッド

定義

オーバーロード

DeleteIfExistsAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

BLOB が既に存在する場合は削除する非同期操作を開始します。

DeleteIfExistsAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)

BLOB が既に存在する場合は削除する非同期操作を開始します。

DeleteIfExistsAsync(CancellationToken)

BLOB が既に存在する場合は削除する非同期操作を開始します。

DeleteIfExistsAsync()

BLOB が既に存在する場合は削除する非同期操作を開始します。

DeleteIfExistsAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

BLOB が既に存在する場合は削除する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

パラメーター

deleteSnapshotsOption
DeleteSnapshotsOption

DeleteSnapshotsOption BLOB のみを削除するか、BLOB とすべてのスナップショットを削除するか、スナップショットのみを削除するかを示す オブジェクト。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

非同期操作を表す、bool 型の Task<TResult> オブジェクト。

属性

適用対象

DeleteIfExistsAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)

BLOB が既に存在する場合は削除する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

パラメーター

deleteSnapshotsOption
DeleteSnapshotsOption

DeleteSnapshotsOption BLOB のみを削除するか、BLOB とすべてのスナップショットを削除するか、スナップショットのみを削除するかを示す オブジェクト。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

戻り値

非同期操作を表す、bool 型の Task<TResult> オブジェクト。

属性

適用対象

DeleteIfExistsAsync(CancellationToken)

BLOB が既に存在する場合は削除する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

パラメーター

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

非同期操作を表す、bool 型の Task<TResult> オブジェクト。

属性

適用対象

DeleteIfExistsAsync()

BLOB が既に存在する場合は削除する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : unit -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync () As Task(Of Boolean)

戻り値

非同期操作を表す、bool 型の Task<TResult> オブジェクト。

属性

適用対象