System.Threading.SynchronizationContext.CreateCopy Method

When overridden in a derived class, creates a copy of the synchronization context.

Syntax

public virtual SynchronizationContext CreateCopy ()

Returns

A new System.Threading.SynchronizationContext object.

Remarks

The default implementation returns an empty System.Threading.SynchronizationContext object.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0