NEAppProxyUdpFlow.WriteDatagramsAsync(NSData[], NWEndpoint[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.