共用方式為


MutableInterceptionContext<TResult>.AsAsync 方法

定義

建立新的 MutableInterceptionContext<TResult> ,其中包含此攔截內容中的所有內容資訊,並將 IsAsync 旗標設定為 true。

public System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext<TResult> AsAsync ();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext<'Result>
Public Function AsAsync () As MutableInterceptionContext(Of TResult)

傳回

與非同步旗標集相關聯的新攔截內容。

適用於