CloudFile.BeginDeleteIfExists メソッド

定義

オーバーロード

BeginDeleteIfExists(AsyncCallback, Object)

ファイルが既に存在する場合は、ファイルを削除する非同期要求を開始します。

BeginDeleteIfExists(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

ファイルが既に存在する場合は、ファイルを削除する非同期要求を開始します。

BeginDeleteIfExists(AsyncCallback, Object)

ファイルが既に存在する場合は、ファイルを削除する非同期要求を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteIfExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteIfExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteIfExists (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

パラメーター

callback
AsyncCallback

非同期操作の完了時に通知を受け取るコールバック デリゲート。

state
Object

コールバック デリゲートに渡されるユーザー定義オブジェクト。

戻り値

ICancellableAsyncResult非同期操作を参照する 。

属性

適用対象

BeginDeleteIfExists(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

ファイルが既に存在する場合は、ファイルを削除する非同期要求を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists (Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteIfExists : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteIfExists : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteIfExists (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

パラメーター

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
FileRequestOptions

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

operationContext
OperationContext

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

callback
AsyncCallback

非同期操作の完了時に通知を受け取るコールバック デリゲート。

state
Object

コールバック デリゲートに渡されるユーザー定義オブジェクト。

戻り値

ICancellableAsyncResult非同期操作を参照する 。

属性

適用対象