Share via


NEAppProxyTcpFlow.ReadDataAsync Method

Definition

Reads data from the flow and returns when the operation is complete.

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

Returns

A task that represents the asynchronous ReadData operation. The value of the TResult parameter is of type System.Action<Foundation.NSData,Foundation.NSError>.

Attributes

Applies to