編輯

共用方式為


NWConnection.Send Method

Definition

Overloads

Send(DispatchData, NWContentContext, Boolean, Action<NWError>)
Send(Byte[], NWContentContext, Boolean, Action<NWError>)
Send(Byte[], Int32, Int32, NWContentContext, Boolean, Action<NWError>)

Send(DispatchData, NWContentContext, Boolean, Action<NWError>)

public void Send (CoreFoundation.DispatchData buffer, Network.NWContentContext context, bool isComplete, Action<Network.NWError> callback);
member this.Send : CoreFoundation.DispatchData * Network.NWContentContext * bool * Action<Network.NWError> -> unit

Parameters

buffer
DispatchData
isComplete
Boolean
callback
Action<NWError>

Applies to

Send(Byte[], NWContentContext, Boolean, Action<NWError>)

public void Send (byte[] buffer, Network.NWContentContext context, bool isComplete, Action<Network.NWError> callback);
member this.Send : byte[] * Network.NWContentContext * bool * Action<Network.NWError> -> unit

Parameters

buffer
Byte[]
isComplete
Boolean
callback
Action<NWError>

Applies to

Send(Byte[], Int32, Int32, NWContentContext, Boolean, Action<NWError>)

public void Send (byte[] buffer, int start, int length, Network.NWContentContext context, bool isComplete, Action<Network.NWError> callback);
member this.Send : byte[] * int * int * Network.NWContentContext * bool * Action<Network.NWError> -> unit

Parameters

buffer
Byte[]
start
Int32
length
Int32
isComplete
Boolean
callback
Action<NWError>

Applies to