Bagikan melalui


TestServer.PreserveExecutionContext Properti

Definisi

Mendapatkan atau menetapkan nilai yang mengontrol apakah ExecutionContext nilai dan AsyncLocal<T> dipertahankan dari klien ke server. Nilai defaultnya adalah 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

Nilai Properti

Berlaku untuk