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)
- C#
- VB
- F#
public override void Send(
SendOrPostCallback d,
Object? state
)
Public Overrides Sub Send (
d As SendOrPostCallback,
state As Object
)
abstract Send :
d : SendOrPostCallback *
state : Object -> unit
override Send :
d : SendOrPostCallback *
state : Object -> unit
Parameters
- SendOrPostCallback
- The SendOrPostCallback delegate to call.
- Object
- The object passed to the delegate.
Exceptions
NotSupportedException | The 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