语言

DbConfigurationInterceptionContext.AsAsync 方法

定义

创建一个新 DbConfigurationInterceptionContext 项,其中包含此截获上下文中所有上下文信息, IsAsync 标志设置为 true。

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

返回

与异步标志集关联的新拦截上下文。

适用于