다음을 통해 공유


NWUdpSession.SetReadHandler(Action<NSArray,NSError>, nuint) 메서드

정의

최대 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

매개 변수

maxDatagrams
System.System.UIntPtr System.unativeint
특성

적용 대상