Compartilhar via


NWUdpSession.SetReadHandler(Action<NSArray,NSError>, nuint) Método

Definição

Atribui um manipulador que lerá, no máximo, 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

Parâmetros

maxDatagrams
System.System.UIntPtr System.unativeint
Atributos

Aplica-se a