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::GenerateFromName Method (String^, String^)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

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

public:
static String^ GenerateFromName(
	String^ command,
	String^ activityNamespace
)

Parameters

command
Type: System::String^

The command name to generate.

activityNamespace
Type: System::String^

The namespace that will contain the activity.

Return Value

Type: System::String^

A string representing the C# source code of the generated activity.

Return to top

Community Additions

Show: