次の方法で共有


DbCommandInterceptionContext.AsAsync メソッド

定義

フラグが true に設定された、このインターセプト コンテキスト内のすべてのコンテキスト情報を含む新しい DbCommandInterceptionContextIsAsync 作成します。

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

戻り値

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

適用対象