Editar

Partilhar via


SynchronizationContext.CreateCopy Method

Definition

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

public:
 virtual System::Threading::SynchronizationContext ^ CreateCopy();
public virtual System.Threading.SynchronizationContext CreateCopy ();
abstract member CreateCopy : unit -> System.Threading.SynchronizationContext
override this.CreateCopy : unit -> System.Threading.SynchronizationContext
Public Overridable Function CreateCopy () As SynchronizationContext

Returns

A new SynchronizationContext object.

Remarks

The default implementation returns an empty SynchronizationContext object.

Applies to