InvokeWorkflowActivity Class

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.

Synchronously executes a different workflow.

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

Syntax

'Declaration
<GlobalizedDescriptionAttribute("InvokeWorkflowActivity")> _
<ActivityValidatorAttribute(GetType(InvokeWorkflowActivityValidator))> _
<ToolboxBitmapAttribute(GetType(InvokeWorkflowActivity))> _
<GlobalizedCategoryAttribute("MSSCategory")> _
Public NotInheritable Class InvokeWorkflowActivity
    Inherits SpeechCompositeActivity
[GlobalizedDescriptionAttribute("InvokeWorkflowActivity")] 
[ActivityValidatorAttribute(typeof(InvokeWorkflowActivityValidator))] 
[ToolboxBitmapAttribute(typeof(InvokeWorkflowActivity))] 
[GlobalizedCategoryAttribute("MSSCategory")] 
public sealed class InvokeWorkflowActivity : SpeechCompositeActivity

Remarks

The invoked workflow must use the same TelephonySession as the invoking workflow and has its DependentWorkflow property set to True. When the invoked workflow completes, the flow of control returns to the invoking workflow.

The LogResults property on InvokeWorkflowActivity should be considered to be read-only. By default, its value is True. Setting it to False causes a NotSupportedException to be thrown.

Inheritance Hierarchy

System.Object
???? System.Workflow.ComponentModel.DependencyObject
???????? System.Workflow.ComponentModel.Activity
???????????? System.Workflow.ComponentModel.CompositeActivity
???????????????? Microsoft.SpeechServer.Dialog.SpeechCompositeActivity
????????????????????Microsoft.SpeechServer.Dialog.InvokeWorkflowActivity

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

InvokeWorkflowActivity Members
Microsoft.SpeechServer.Dialog Namespace