Metodo WorkflowManager.Publish (WorkflowDescription)

Pubblica un flusso di lavoro nell'ambito corrente.

Spazio dei nomi  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

public Uri Publish(
	WorkflowDescription description


Tipo: Microsoft.Workflow.Client.WorkflowDescription
Descrizione del flusso di lavoro da pubblicare.

Valore restituito

Tipo: System.Uri
URI del flusso di lavoro pubblicato.

Publish can be used to create a new workflow as well as to update an existing workflow. When this overload is used to update an existing workflow, the instances of this workflow are not terminated and continue execution using the version of the workflow that was current when the instance was activated.