WorkflowResourceManager.PublishActivity Method (ActivityDescription, Boolean, Boolean, Boolean)

Publishes an activity.

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

Syntax

'Declaration
Public Function PublishActivity ( _
    description As ActivityDescription, _
    validateOnly As Boolean, _
    overwriteXClassName As Boolean, _
    terminateDependentInstances As Boolean _
) As Uri
'Usage
Dim instance As WorkflowResourceManager 
Dim description As ActivityDescription 
Dim validateOnly As Boolean 
Dim overwriteXClassName As Boolean 
Dim terminateDependentInstances As Boolean 
Dim returnValue As Uri 

returnValue = instance.PublishActivity(description, _
    validateOnly, overwriteXClassName, _
    terminateDependentInstances)
public Uri PublishActivity(
    ActivityDescription description,
    bool validateOnly,
    bool overwriteXClassName,
    bool terminateDependentInstances
)
public:
Uri^ PublishActivity(
    ActivityDescription^ description, 
    bool validateOnly, 
    bool overwriteXClassName, 
    bool terminateDependentInstances
)
member PublishActivity : 
        description:ActivityDescription * 
        validateOnly:bool * 
        overwriteXClassName:bool * 
        terminateDependentInstances:bool -> Uri
public function PublishActivity(
    description : ActivityDescription, 
    validateOnly : boolean, 
    overwriteXClassName : boolean, 
    terminateDependentInstances : boolean
) : Uri

Parameters

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

Return Value

Type: System.Uri
The published activity.

See Also

Reference

WorkflowResourceManager Class

PublishActivity Overload

Microsoft.Workflow.Client Namespace