共用方式為


NWConnection 建構函式

定義

多載

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

NWConnection(NWEndpoint, NWParameters)

public NWConnection (Network.NWEndpoint endpoint, Network.NWParameters parameters);
new Network.NWConnection : Network.NWEndpoint * Network.NWParameters -> Network.NWConnection

參數

endpoint
NWEndpoint
parameters
NWParameters

適用於

NWConnection(IntPtr, Boolean)

public NWConnection (IntPtr handle, bool owns);
new Network.NWConnection : nativeint * bool -> Network.NWConnection

參數

handle
IntPtr

nativeint

owns
Boolean

適用於