AvaloniaSynchronizationContextSend Method

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

Definition

Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public override void Send(
	SendOrPostCallback d,
	Object? state
)

Parameters

d  SendOrPostCallback
The SendOrPostCallback delegate to call.
state  Object
The object passed to the delegate.

Exceptions

NotSupportedExceptionThe method was called in a Windows Store app. The implementation of SynchronizationContext for Windows Store apps does not support the Send(SendOrPostCallback, Object) method.

See Also