Share via


WorkflowResourceManager.PublishActivities Method (IEnumerable<ActivityDescription>, Boolean, Boolean)

Publishes the activities associated with the manager.

Namespace:  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Syntax

'Declaration
Public Function PublishActivities ( _
    descriptions As IEnumerable(Of ActivityDescription), _
    validateOnly As Boolean, _
    terminateDependentInstances As Boolean _
) As Collection(Of Uri)
'Usage
Dim instance As WorkflowResourceManager 
Dim descriptions As IEnumerable(Of ActivityDescription)
Dim validateOnly As Boolean 
Dim terminateDependentInstances As Boolean 
Dim returnValue As Collection(Of Uri)

returnValue = instance.PublishActivities(descriptions, _
    validateOnly, terminateDependentInstances)
public Collection<Uri> PublishActivities(
    IEnumerable<ActivityDescription> descriptions,
    bool validateOnly,
    bool terminateDependentInstances
)
public:
Collection<Uri^>^ PublishActivities(
    IEnumerable<ActivityDescription^>^ descriptions, 
    bool validateOnly, 
    bool terminateDependentInstances
)
member PublishActivities : 
        descriptions:IEnumerable<ActivityDescription> * 
        validateOnly:bool * 
        terminateDependentInstances:bool -> Collection<Uri> 
public function PublishActivities(
    descriptions : IEnumerable<ActivityDescription>, 
    validateOnly : boolean, 
    terminateDependentInstances : boolean
) : Collection<Uri>

Parameters

  • validateOnly
    Type: System.Boolean
    true if only the validated activities will be published; otherwise, false.
  • terminateDependentInstances
    Type: System.Boolean
    true to terminate dependent instances; otherwise, false.

Return Value

Type: System.Collections.ObjectModel.Collection<Uri>
The published activities.

See Also

Reference

WorkflowResourceManager Class

PublishActivities Overload

Microsoft.Workflow.Client Namespace