DbConfigurationInterceptionContext.AsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 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
返回
与异步标志集关联的新拦截上下文。