UdpReceiveResult(Byte[], IPEndPoint) 建構函式

定義

初始化 UdpReceiveResult 類別的新執行個體。

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 封包中接收的資料。

remoteEndPoint
IPEndPoint

UDP 封包的遠端端點。

適用於