DbConfigurationInterceptionContext.AsAsync 方法

定义

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

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

返回

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

适用于