Skip to main content

Send 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)

public override void Send(
SendOrPostCallback d,
Object? state
)

Parameters

  SendOrPostCallback
The SendOrPostCallback delegate to call.
  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

Reference

AvaloniaSynchronizationContext Class
Avalonia.Threading Namespace