NWConnection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
inherit NativeObject
- 继承
-
- 属性
-
构造函数
属性
方法
Batch(Action)
|
Cancel()
|
CancelCurrentEndpoint()
|
Dispose()
|
(继承自 NativeObject)
|
Dispose(Boolean)
|
(继承自 NativeObject)
|
ForceCancel()
|
GetProtocolMetadata(NWProtocolDefinition)
|
InitializeHandle(IntPtr)
|
(继承自 NativeObject)
|
Receive(UInt32, UInt32, NWConnectionReceiveCompletion)
|
ReceiveData(UInt32, UInt32, NWConnectionReceiveDispatchDataCompletion)
|
ReceiveMessage(NWConnectionReceiveCompletion)
|
ReceiveMessageData(NWConnectionReceiveDispatchDataCompletion)
|
Release()
|
(继承自 NativeObject)
|
Restart()
|
Retain()
|
(继承自 NativeObject)
|
Send(Byte[], Int32, Int32, NWContentContext, Boolean, Action<NWError>)
|
Send(Byte[], NWContentContext, Boolean, Action<NWError>)
|
Send(DispatchData, NWContentContext, Boolean, Action<NWError>)
|
SendIdempotent(Byte[], NWContentContext, Boolean)
|
SendIdempotent(DispatchData, NWContentContext, Boolean)
|
SetBetterPathAvailableHandler(Action<Boolean>)
|
SetBooleanChangeHandler(Action<Boolean>)
|
SetPathChangedHandler(Action<NWPath>)
|
SetQueue(DispatchQueue)
|
SetStateChangeHandler(Action<NWConnectionState,NWError>)
|
Start()
|
适用于