TestServer.PreserveExecutionContext 屬性

定義

取得或設定值,控制是否 ExecutionContext 將 和 AsyncLocal<T> 值從用戶端保留到伺服器。 預設值是 false

public:
 property bool PreserveExecutionContext { bool get(); void set(bool value); };
public bool PreserveExecutionContext { get; set; }
member this.PreserveExecutionContext : bool with get, set
Public Property PreserveExecutionContext As Boolean

屬性值

適用於