Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

FilePrompt Constructor (Uri, SynthesisMediaType)

Creates a new instance of the FilePrompt class, specifying the location of the file and its media type.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Sub New ( _
    promptFile As Uri, _
    media As SynthesisMediaType _
)
'Usage
Dim promptFile As Uri
Dim media As SynthesisMediaType

Dim instance As New FilePrompt(promptFile, _
    media)
public FilePrompt(
    Uri promptFile,
    SynthesisMediaType media
)

Parameters

  • promptFile
    Type: System.Uri
    The URI of the file containing the prompt content.

See Also

Reference

FilePrompt Class

FilePrompt Members

FilePrompt Overload

Microsoft.Speech.Synthesis Namespace