Condividi tramite


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

Definizione

Assegna un gestore che leggerà, al massimo, 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

Parametri

maxDatagrams
System.System.UIntPtr System.unativeint
Attributi

Si applica a