Freigeben über


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

Definition

Weist einen Handler zu, der höchstens maxDatagramsliest.

[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

Parameter

maxDatagrams
System.System.UIntPtr System.unativeint
Attribute

Gilt für: