次の方法で共有


DbCommandInterceptionContext<TResult>.AsAsync メソッド

定義

フラグを true に設定して、このインターセプト コンテキスト内のすべてのコンテキスト情報を含む新しい DbCommandInterceptionContext<TResult>IsAsync 作成します。

public System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<TResult> AsAsync();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<'Result>
Public Function AsAsync () As DbCommandInterceptionContext(Of TResult)

戻り値

非同期フラグ セットに関連付けられた新しいインターセプト コンテキスト。

適用対象