Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)
Usage
Visual Basic |
---|
Dim instance As CreateResourceActivity |
Syntax
Visual Basic |
---|
Public NotInheritable Class CreateResourceActivity Inherits Activity |
C# |
---|
public sealed class CreateResourceActivity : Activity |
C++ |
---|
public ref class CreateResourceActivity sealed : public Activity |
J# |
---|
public final class CreateResourceActivity extends Activity |
JScript |
---|
public final class CreateResourceActivity extends Activity |
Remarks
The work of this activity occurs in the overloaded Execute method. There is no need for additional child activities or additional Windows Workflow Foundation (WF) execution bookmarks.
Sample usage:
-
Set the ActorId property of the activity.
-
Set the CreateParameters property to capture the attributes to set. You must always set the ObjectType attribute when you create a new resource.
Inheritance Hierarchy
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
Microsoft.ResourceManagement.Workflow.Activities.CreateResourceActivity
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
Microsoft.ResourceManagement.Workflow.Activities.CreateResourceActivity
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.