DispatcherSynchronizationContext Class
.NET Framework Class Library
DispatcherSynchronizationContext Class

Provides a synchronization context for Windows Presentation Foundation (WPF).

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.
Visual Basic (Declaration)
Public NotInheritable Class DispatcherSynchronizationContext _
    Inherits SynchronizationContext
Visual Basic (Usage)
Dim instance As DispatcherSynchronizationContext
C#
public sealed class DispatcherSynchronizationContext : SynchronizationContext
Visual C++
public ref class DispatcherSynchronizationContext sealed : public SynchronizationContext
JScript
public final class DispatcherSynchronizationContext extends SynchronizationContext
XAML

This managed class is not typically used in XAML.

If a Dispatcher is not specified at the creation of the DispatcherSynchronizationContext instance, the current Dispatcher is associated with the DispatcherSynchronizationContext.

System..::.Object
  System.Threading..::.SynchronizationContext
    System.Windows.Threading..::.DispatcherSynchronizationContext
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker