BaseCompatibilityPreferences.FlowDispatcherSynchronizationContextPriority 속성

정의

Priority에 대한 정보를 DispatcherSynchronizationContext에 저장할지 여부를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

Boolean

Priority에 대한 정보가 DispatcherSynchronizationContext에 저장되어 있으면 true이고, 그렇지 않으면 false입니다.

설명

이 속성의 기본값은 WPF의 버전을 달라 집니다는 앱의 대상입니다. 앱이 대상으로 WPF 4.0 경우 기본값은 이전에 false입니다. 앱에서 WPF 4.5를 대상으로 하는 경우 기본값은 true합니다. WPF의 동작을 변경 하려면이 속성을 사용 하는 경우 애플리케이션에서 상속 된 클래스의 생성자에서 같은 앱의 수명 초기에 속성의 값을 변경 해야 합니다. 값을 읽은 후 다시 변경할 수 없습니다.

적용 대상