Share via


NEAppProxyTcpFlow.WriteDataAsync(NSData) Method

Definition

Writes the provided data to the flow and returns when the operation is complete.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task WriteDataAsync(Foundation.NSData data);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteDataAsync : Foundation.NSData -> System.Threading.Tasks.Task
override this.WriteDataAsync : Foundation.NSData -> System.Threading.Tasks.Task

Parameters

data
NSData

Returns

A task that represents the asynchronous WriteData operation

Attributes

Remarks

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