Metodo WorkflowResourceManager.PublishActivity (ActivityDescription, Boolean, Boolean, Boolean)
Pubblica un'attività.
Spazio dei nomi Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Sintassi
'Dichiarazione
Public Function PublishActivity ( _
description As ActivityDescription, _
validateOnly As Boolean, _
overwriteXClassName As Boolean, _
terminateDependentInstances As Boolean _
) As Uri
'Utilizzo
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
Parametri
- description
Tipo: Microsoft.Workflow.Client.ActivityDescription
Descrizione dell'attività.
- validateOnly
Tipo: System.Boolean
true se le attività convalidate verranno pubblicate. In caso contrario, false.
- overwriteXClassName
Tipo: System.Boolean
true per sovrascrivere il nome della classe. In caso contrario, false.
- terminateDependentInstances
Tipo: System.Boolean
true per terminare le istanze dipendenti. In caso contrario, false.
Valore restituito
Tipo: System.Uri
Attività pubblicata.