The SpeechSynthesisConnectortype exposes the following members.

Constructors

  Name Description
SpeechSynthesisConnector
Creates a new instance of the SpeechSynthesisConnector class.

Methods

  Name Description
AttachFlow
Specifies which AudioVideoFlow will provide audio data for speech recognition. Only one AudioVideoFlow may be bound at a time.
BeginRead
Not supported.
(Overrides StreamBeginRead( array< Byte > [] () [] , Int32, Int32, AsyncCallback, Object).)
BeginWrite
Not supported.
(Overrides StreamBeginWrite( array< Byte > [] () [] , Int32, Int32, AsyncCallback, Object).)
Close (Inherited from Stream.)
CreateObjRef (Inherited from MarshalByRefObject.)
CreateWaitHandle Obsolete. (Inherited from Stream.)
DetachFlow
Detaches the current AudioVideoFlow, freeing the connector to use another.
Dispose Overloaded.
EndRead
Not supported.
(Overrides StreamEndRead(IAsyncResult).)
EndWrite
Not supported.
(Overrides StreamEndWrite(IAsyncResult).)
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
Flush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides StreamFlush () () () .)
GetHashCode (Inherited from Object.)
GetLifetimeService (Inherited from MarshalByRefObject.)
GetType (Inherited from Object.)
InitializeLifetimeService (Inherited from MarshalByRefObject.)
MemberwiseClone Overloaded.
Read
Not supported. Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes.
(Overrides StreamRead( array< Byte > [] () [] , Int32, Int32).)
ReadByte
Not supported.
(Overrides StreamReadByte () () () .)
Seek
Not supported. Sets the position within the current stream.
(Overrides StreamSeek(Int64, SeekOrigin).)
SetLength
Not supported. Sets the length of the current stream.
(Overrides StreamSetLength(Int64).)
Start
Prepares the connector to accept input from the SpeechSynthesizer and transmit it to the AudioVideoFlow.
Stop
Stops sending data to the AudioVideoFlow. After Stop() returns, it is safe to use another output device on the AudioVideoFlow.
ToString (Inherited from Object.)
Write
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.
(Overrides StreamWrite( array< Byte > [] () [] , Int32, Int32).)
WriteByte
Not supported.
(Overrides StreamWriteByte(Byte).)

Properties

  Name Description
AudioFormat
Gets or sets the desired AudioFormat.
AudioVideoFlow
Gets the attached AudioVideoFlow.
CanRead
Gets whether the current stream supports reading. This property always returns false.
(Overrides StreamCanRead () () () .)
CanSeek
Gets whether the current stream supports seeking. This property always returns false.
(Overrides StreamCanSeek () () () .)
CanTimeout
Gets whether the current stream can time out. This property always returns false.
(Overrides StreamCanTimeout () () () .)
CanWrite
Gets whether the current stream supports writing. This property always returns true.
(Overrides StreamCanWrite () () () .)
ExpectedAudioFormat Obsolete.
Gets the format in which SpeechSynthesisConnector expects audio data to be written to the stream.
IsActive
Gets whether the SpeechSynthesisConnector is currently started.
Length
Not supported. Gets the length of the stream in bytes.
(Overrides StreamLength () () () .)
Position
Gets or sets the position within the current stream. Setting this property is not supported.
(Overrides StreamPosition () () () .)
ReadTimeout
Not supported. Gets or sets how long the stream will attempt to read before timing out.
(Overrides StreamReadTimeout () () () .)
Stream
Gets the stream corresponding to this connector, for use as a parameter to SpeechSynthesizer.SetOutputToAudioStream().
WriteTimeout
Not supported. Gets or sets how long the stream will attempt to write before timing out.
(Overrides StreamWriteTimeout () () () .)

See Also