Düzenle

Aracılığıyla paylaş


NWUdpSession.SetReadHandler(Action<NSArray,NSError>, nuint) Method

Definition

Assigns a handler that will read, at most, maxDatagrams.

[Foundation.Export("setReadHandler:maxDatagrams:")]
public virtual void SetReadHandler (Action<Foundation.NSArray,Foundation.NSError> handler, nuint maxDatagrams);
abstract member SetReadHandler : Action<Foundation.NSArray, Foundation.NSError> * nuint -> unit
override this.SetReadHandler : Action<Foundation.NSArray, Foundation.NSError> * nuint -> unit

Parameters

maxDatagrams
System.System.UIntPtr System.unativeint
Attributes

Applies to