Table of Contents

Class MicroThreadSynchronizationContext

Namespace
Stride.Core.MicroThreading
Assembly
Stride.Core.MicroThreading.dll
public class MicroThreadSynchronizationContext : SynchronizationContext
Inheritance
MicroThreadSynchronizationContext
Inherited Members

Constructors

MicroThreadSynchronizationContext(MicroThread)

public MicroThreadSynchronizationContext(MicroThread microThread)

Parameters

microThread MicroThread

Methods

CreateCopy()

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

public override SynchronizationContext CreateCopy()

Returns

SynchronizationContext

A new SynchronizationContext object.

Post(SendOrPostCallback, object)

When overridden in a derived class, dispatches an asynchronous message to a synchronization context.

public override void Post(SendOrPostCallback d, object state)

Parameters

d SendOrPostCallback

The SendOrPostCallback delegate to call.

state object

The object passed to the delegate.