SocketAsyncEventArgs.SendPacketsElements Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an array of buffers to be sent for an asynchronous operation used by the SendPacketsAsync(SocketAsyncEventArgs) method.
public:
property cli::array <System::Net::Sockets::SendPacketsElement ^> ^ SendPacketsElements { cli::array <System::Net::Sockets::SendPacketsElement ^> ^ get(); void set(cli::array <System::Net::Sockets::SendPacketsElement ^> ^ value); };
public System.Net.Sockets.SendPacketsElement[]? SendPacketsElements { get; set; }
public System.Net.Sockets.SendPacketsElement[] SendPacketsElements { get; set; }
member this.SendPacketsElements : System.Net.Sockets.SendPacketsElement[] with get, set
Public Property SendPacketsElements As SendPacketsElement()
Property Value
An array of SendPacketsElement objects that represent an array of buffers to be sent.
Remarks
The array of buffers can represent a file or files in memory or a set of memory data buffers. This property is used with the Socket.SendPacketsAsync method.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.