UdpReceiveResult(Byte[], IPEndPoint) UdpReceiveResult(Byte[], IPEndPoint) UdpReceiveResult(Byte[], IPEndPoint) UdpReceiveResult(Byte[], IPEndPoint) Constructor

定義

初始化 UdpReceiveResult 類別的新執行個體。Initializes a new instance of the UdpReceiveResult class.

public:
 UdpReceiveResult(cli::array <System::Byte> ^ buffer, System::Net::IPEndPoint ^ remoteEndPoint);
public UdpReceiveResult (byte[] buffer, System.Net.IPEndPoint remoteEndPoint);
new System.Net.Sockets.UdpReceiveResult : byte[] * System.Net.IPEndPoint -> System.Net.Sockets.UdpReceiveResult
Public Sub New (buffer As Byte(), remoteEndPoint As IPEndPoint)

參數

buffer
Byte[]

緩衝區,用於在 UDP 封包中接收的資料。A buffer for data to receive in the UDP packet.

remoteEndPoint
IPEndPoint IPEndPoint IPEndPoint IPEndPoint

UDP 封包的遠端端點。The remote endpoint of the UDP packet.

適用於