DispatchSource.Data.MergeData(IntPtr) Method

Definition

Posts the specific value and triggers the event handler on the target queue.

public void MergeData (IntPtr value);
member this.MergeData : nativeint -> unit

Parameters

value
IntPtr

nativeint

Data to be posted to the event source.

Remarks

Applications can post data onto a DispatchSource.Data by calling the MergeData(IntPtr) method.   The data is surfaced is then available in to the handler in the PendingData property.

Applies to