Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActivityGenerator Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides methods that generate activities that can be used in Workflows. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Activities
Assembly:  Microsoft.PowerShell.Activities (in Microsoft.PowerShell.Activities.dll)

System.Object
  Microsoft.PowerShell.Activities.ActivityGenerator

Public NotInheritable Class ActivityGenerator

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGenerateAssemblyFromModuleInfo(PSModuleInfo, String, String, String(), String)

Generates an assembly from the information in a PSModuleInfo object. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromCommandInfo(CommandInfo, String)

Generates source code for a Workflow activity by using the specified CommandInfo object. This source code can then be compiled to create an assembly. By default, the activity wrapper uses the remoting command base. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromCommandInfo(CommandInfo, String, Boolean)

Generates source code for a Workflow activity by using the specified CommandInfo object. This source code can then be compiled to create an assembly. By default, the activity wrapper uses the remoting command base. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromCommandInfo(CommandInfo, String, String, String(), String, String)

Generates source code for a Workflow activity by using the specified CommandInfo object. This source code can then be compiled to create an assembly. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromModuleInfo(PSModuleInfo, String)

Generates source code for a Workflow activity by using the specified PSModuleInfo object. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromName(String, String)

Generates source code for a Workflow activity by using the named command. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodSystem_CAPS_staticGenerateFromName(String, String, Boolean)

Generates source code for a Workflow activity by using the named command.. Introduced in Windows PowerShell 3.0.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: