System 2.0.0.0 4.0.0.0 System.Object

The class is used to enhance the class for use by server applications that use asynchronous network I/O to achieve the highest performance. The class is used with the property to get or set a data buffer or file to be sent using the method.

Represents an element in a array.

- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a byte array of data. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Initializes a new instance of the class using the specified buffer.

  A byte array of data to send using the method.
- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a filename of a file. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Universal Naming Convention (UNC) paths are supported by the parameter. If the file is in the current working directory, no path information needs to be specified.

  Initializes a new instance of the class using the specified file.

  The filename of the file to be transmitted using the method.
- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a byte array of data. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Initializes a new instance of the class using the specified buffer, buffer offset, and count.

  A byte array of data to send using the method.
  The offset, in bytes, from the beginning of the to the location in the to start sending the data specified in the parameter.
  The number of bytes to send starting from the parameter. If is zero, no bytes are sent.
- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a filename of a file. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Universal Naming Convention (UNC) paths are supported by the parameter. If the file is in the current working directory, no path information needs to be specified.

  Initializes a new instance of the class using the specified filename path, offset, and count.

  The filename of the file to be transmitted using the method.
  The offset, in bytes, from the beginning of the file to the location in the file to start sending the file specified in the parameter.
  The number of bytes to send starting from the parameter. If is zero, the entire file is sent.
- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a byte array of data. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Initializes a new instance of the class using the specified buffer, buffer offset, and count with an option to combine this element with the next element in a single send request from the sockets layer to the transport.

  A byte array of data to send using the method.
  The offset, in bytes, from the beginning of the to the location in the to start sending the data specified in the parameter.
  The number bytes to send starting from the parameter. If is zero, no bytes are sent.
  A Boolean value that specifies that this element should not be combined with the next element in a single send request from the sockets layer to the transport. This flag is used for granular control of the content of each message on a datagram or message-oriented socket.
- Constructor
  2.0.0.0
  4.0.0.0

  The constructor initializes a new instance of the class with a filename of a file. The class is used with the property to get or set a data buffer or file to be sent using the method.

  Universal Naming Convention (UNC) paths are supported by the parameter. If the file is in the current working directory, no path information needs to be specified.

  Initializes a new instance of the class using the specified filename path, buffer offset, and count with an option to combine this element with the next element in a single send request from the sockets layer to the transport.

  The filename of the file to be transmitted using the method.
  The offset, in bytes, from the beginning of the file to the location in the file to start sending the file specified in the parameter.
  The number of bytes to send starting from the parameter. If is zero, the entire file is sent.
  A Boolean value that specifies that this element should not be combined with the next element in a single send request from the sockets layer to the transport. This flag is used for granular control of the content of each message on a datagram or message-oriented socket.
- Property
  2.0.0.0
  4.0.0.0
  System.Byte[] To be added.

  The default value for the property is a zero-length array if the class was not initialized with a parameter.

  Gets the buffer to be sent if the class was initialized with a parameter.

- Property
  2.0.0.0
  4.0.0.0
  System.Int32 To be added.

  The default value for the property is zero if the class was not initialized with a parameter.

  If is zero for a file, the entire file is sent. If is zero for a buffer, no bytes are sent.

  Gets the count of bytes to be sent.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added.

  The default value for the property is false if the class was not initialized with an parameter set to true.

  Gets a Boolean value that indicates if this element should not be combined with the next element in a single send request from the sockets layer to the transport.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  Universal Naming Convention (UNC) paths are supported by the property. If the file is in the current working directory, no path information needs to be specified.

  The default value for the property is an empty string if the class was not initialized with a parameter.

  Gets the filename of the file to send if the class was initialized with a parameter.

- Property
  2.0.0.0
  4.0.0.0
  System.Int32 To be added.

  The default value for the property is zero if the class was not initialized with an parameter.

  Gets the offset, in bytes, from the beginning of the data buffer or file to the location in the buffer or file to start sending the data.