共用方式為


NWConnection 類別

定義

[ObjCRuntime.TV(12, 0)]
public class NWConnection : CoreFoundation.NativeObject
type NWConnection = class
    inherit NativeObject
繼承
NWConnection
屬性

建構函式

NWConnection(IntPtr, Boolean)
NWConnection(NWEndpoint, NWParameters)

屬性

CurrentPath
Description
Endpoint
Handle (繼承來源 NativeObject)
MaximumDatagramSize
Parameters

方法

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()

適用於