UiSynchronizationContext 类

定义

警告

此 API 现已过时。

为同步模型中使用的托管 UI 提供同步上下文。Provides the synchronization context for the managed UI used in synchronization models.

public ref class UiSynchronizationContext abstract sealed
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public static class UiSynchronizationContext
type UiSynchronizationContext = class
Public Class UiSynchronizationContext
继承
UiSynchronizationContext
属性

属性

Current

获取当前线程的同步上下文。Gets the synchronization context for the current thread.

ManagedUiThreadId

获取当前托管线程的唯一标识符。Gets a unique identifier for the current managed thread.

适用于