SpeechSynthesisConnector.Write(Byte[], Int32, Int32) Method
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.
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. Blocks until the data has been (almost) sent on the wire.
public:
override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)
Parameters
- buffer
- Byte[]
An array of bytes. This method copies count bytes from buffer to the current stream.
- offset
- Int32
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
- count
- Int32
The number of bytes to be written to the current stream.
Exceptions
Thrown when the sum of offset and count is larger than the buffer length.
Thrown when offset or count is negative.
Thrown when the stream was already closed.
Thrown when buffer is null.
Thrown when the connector is not attached to a flow, or is not active, or has been suspended.
Thrown when the connector is stopped.