FilePrompt Constructor (Uri, SynthesisMediaType)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

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

Parameters

promptFile
Type: System..::..Uri

The URI of the file containing the prompt content.

media
Type: Microsoft.Speech.Synthesis..::..SynthesisMediaType

The media type of the file.

See Also