Udostępnij za pośrednictwem


SpeechCompositeActivity.Execute 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.

Executes the SpeechCompositeActivity.

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

Syntax

'Declaration
Protected Overrides NotOverridable Function Execute ( _
    executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
protected override sealed ActivityExecutionStatus Execute (
    ActivityExecutionContext executionContext
)

Parameters

  • executionContext
    The execution context.

Return Value

ActivityExecutionStatus.Executing, if successful.

Exceptions

Exception type Condition
InvalidOperationException

TelephonySession is null.

The dialog element is not idle.

The speech activity is already running.

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

SpeechCompositeActivity Class
SpeechCompositeActivity Members
Microsoft.SpeechServer.Dialog Namespace