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)

Sintassi

'Dichiarazione
Public Function Publish ( _
    description As WorkflowDescription _
) As Uri
'Utilizzo
Dim instance As WorkflowManager 
Dim description As WorkflowDescription 
Dim returnValue As Uri 

returnValue = instance.Publish(description)
public Uri Publish(
    WorkflowDescription description
)
public:
Uri^ Publish(
    WorkflowDescription^ description
)
member Publish : 
        description:WorkflowDescription -> Uri
public function Publish(
    description : WorkflowDescription
) : Uri

Parametri

Valore restituito

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

Osservazioni

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.

Vedere anche

Riferimento

WorkflowManager Classe

Overload Publish

Spazio dei nomi Microsoft.Workflow.Client