語言

DbConfigurationInterceptionContext.AsAsync 方法

定義

建立一個包含此攔截上下文IsAsync中所有上下文資訊的新文件DbConfigurationInterceptionContext,該標記設為 true。

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

傳回

一個與非同步旗標相關的新攔截上下文。

適用於