IActivitySettingsPart.GenerateActivityOnWorkflow Method
This method is called when a user clicks the Save button in the Workflow Designer. It returns an instance of the activity that has its properties set to the values entered into the controls used in the UI of the activity.
Namespace: Microsoft.IdentityManagement.WebUI.Controls
Assembly: Microsoft.IdentityManagement.WFExtensionInterfaces (in microsoft.identitymanagement.wfextensioninterfaces.dll)
Usage
'Usage
Dim instance As IActivitySettingsPart
Dim workflow As SequentialWorkflow
Dim returnValue As Activity
returnValue = instance.GenerateActivityOnWorkflow(workflow)
Syntax
'Declaration
Function GenerateActivityOnWorkflow ( _
workflow As SequentialWorkflow _
) As Activity
Activity GenerateActivityOnWorkflow (
SequentialWorkflow workflow
)
Activity^ GenerateActivityOnWorkflow (
SequentialWorkflow^ workflow
)
Activity GenerateActivityOnWorkflow (
SequentialWorkflow workflow
)
function GenerateActivityOnWorkflow (
workflow : SequentialWorkflow
) : Activity
Parameters
- workflow
Represents the parent workflow of the activity.
Return Value
Returns Activity.
Remarks
It is recommended that this method call ValidateInputs prior to saving the activity.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
Windows 2008 x64 Edition
See Also
Reference
IActivitySettingsPart Interface
IActivitySettingsPart Members
Microsoft.IdentityManagement.WebUI.Controls Namespace
GenerateActivityOnWorkflow