Click or drag to resize

RemWorkflowTerminateWorkflow Method

Paperwork .Net Kütüphanesi
İş akışını sonlandırmak için kullanılır. Sadece başlatılan akışlar sonlandırılabilir.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public a_GenericResult TerminateWorkflow(
	string workflowId,
	string info
)

Parameters

workflowId
Type: SystemString
İş akışı nesne numarası.
info
Type: SystemString
Açıklama

Return Value

Type: a_GenericResult
a_GenericResult nesesi içinde , aErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
C#
public void TerminateWorkflow()
{
    string workflowId = "AB00010000001578";
    string info = "PARAM_VALUE";
    a_GenericResult retval = p.rWorkflow.TerminateWorkflow(workflowId, info);
    if (retval.ErrorCode != 0)
        throw new Exception(retval.Message);
    else
        Console.WriteLine("İşlem Başarılı.");
    Console.ReadLine();
}
See Also