Share via


SpeechSequenceActivity.GetPromptResource Method

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.

Retrieves the specified prompt resource.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Protected Function GetPromptResource ( _
    resourceName As String _
) As String
protected string GetPromptResource (
    string resourceName
)

Parameters

  • resourceName
    The name of the prompt resource to retrieve.

Return Value

The value of the resource localized for the culture currently specified in CurrentUICulture. If a best match is not possible, this method returns null.

Exceptions

Exception type Condition
ArgumentException

resourceName is null.

resourceName is an empty string.

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

SpeechSequenceActivity Class
SpeechSequenceActivity Members
Microsoft.SpeechServer.Dialog Namespace