Düzenle

Aracılığıyla paylaş


NWTcpConnection.WriteAsync(NSData) Method

Definition

Writes the provided data to the connection and runs a completion handler when the operation completes.

public virtual System.Threading.Tasks.Task WriteAsync (Foundation.NSData data);
abstract member WriteAsync : Foundation.NSData -> System.Threading.Tasks.Task
override this.WriteAsync : Foundation.NSData -> System.Threading.Tasks.Task

Parameters

data
NSData

Returns

A task that represents the asynchronous Write operation

Remarks

The WriteAsync 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