Share via


CloudFileShare.SnapshotAsync メソッド

定義

オーバーロード

SnapshotAsync()

共有のスナップショットを作成する非同期操作を開始します。

SnapshotAsync(CancellationToken)

共有のスナップショットを作成する非同期操作を開始します。

SnapshotAsync(IDictionary<String,String>, AccessCondition, FileRequestOptions, OperationContext)

共有のスナップショットを作成する非同期操作を開始します。

SnapshotAsync(IDictionary<String,String>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

共有のスナップショットを作成する非同期操作を開始します。

SnapshotAsync()

共有のスナップショットを作成する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare> SnapshotAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
member this.SnapshotAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare>
Public Function SnapshotAsync () As Task(Of CloudFileShare)

戻り値

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

属性

適用対象

SnapshotAsync(CancellationToken)

共有のスナップショットを作成する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare> SnapshotAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
member this.SnapshotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare>
Public Function SnapshotAsync (cancellationToken As CancellationToken) As Task(Of CloudFileShare)

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象

SnapshotAsync(IDictionary<String,String>, AccessCondition, FileRequestOptions, OperationContext)

共有のスナップショットを作成する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare> SnapshotAsync (System.Collections.Generic.IDictionary<string,string> metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
member this.SnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare>
Public Function SnapshotAsync (metadata As IDictionary(Of String, String), accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task(Of CloudFileShare)

パラメーター

metadata
IDictionary<String,String>

スナップショットのメタデータを定義する名前と値のペアのコレクションです。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

戻り値

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

属性

適用対象

SnapshotAsync(IDictionary<String,String>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

共有のスナップショットを作成する非同期操作を開始します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare> SnapshotAsync (System.Collections.Generic.IDictionary<string,string> metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
member this.SnapshotAsync : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.CloudFileShare>
Public Function SnapshotAsync (metadata As IDictionary(Of String, String), accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of CloudFileShare)

パラメーター

metadata
IDictionary<String,String>

スナップショットのメタデータを定義する名前と値のペアのコレクションです。

accessCondition
AccessCondition

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

options
FileRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

戻り値

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

属性

適用対象