IRecorder.RecordAsync Method (String, FileMode)
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Starts recording asynchronously to the specified file using the specified file mode.
Namespace: Microsoft.SpeechServer
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
Sub RecordAsync ( _
recordedFilePath As String, _
mode As FileMode _
)
void RecordAsync (
string recordedFilePath,
FileMode mode
)
Parameters
- recordedFilePath
The file to which the audio data should be saved.
- mode
The FileMode to use.
Remarks
When recording starts, the RecordStarted event is raised.
If the specified file already exists, the recording fails and the RecordStarted event is not raised.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
Windows Server 2003
See Also
Reference
IRecorder Interface
IRecorder Members
Microsoft.SpeechServer Namespace