NEAppProxyUdpFlow.WriteDatagramsAsync(NSData[], NWEndpoint[]) Method

Definition

Writes the provided datagrams to the specified endpoints and runs completionHanler when the operation is complete..

public virtual System.Threading.Tasks.Task WriteDatagramsAsync (Foundation.NSData[] datagrams, NetworkExtension.NWEndpoint[] remoteEndpoints);
abstract member WriteDatagramsAsync : Foundation.NSData[] * NetworkExtension.NWEndpoint[] -> System.Threading.Tasks.Task
override this.WriteDatagramsAsync : Foundation.NSData[] * NetworkExtension.NWEndpoint[] -> System.Threading.Tasks.Task

Parameters

datagrams
NSData[]
remoteEndpoints
NWEndpoint[]

Returns

A task that represents the asynchronous WriteDatagrams operation

Remarks

The WriteDatagramsAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to