SpeechSequenceActivity.GetDynamicActivity 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.
Returns the dynamic child activity with the specified name.
Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)
Syntax
'Declaration
Public Function GetDynamicActivity ( _
childActivityName As String _
) As Activity
public Activity GetDynamicActivity (
string childActivityName
)
Parameters
- childActivityName
The name of the child activity to search for.
Return Value
The dynamic child activity whose name is in childActivityName, if present; null if there are no child activities in the collection.
Exceptions
Exception type | Condition |
---|---|
ArgumentException | childActivityName is null. childActivityName is an empty string. childActivityName is not present in the collection. |
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