Click or drag to resize

RemWorkflowSuspendWorkflow Method

Paperwork .Net Kütüphanesi
İş akışı nesne numarası verilen akışı durdurmak için kullanılır.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public a_GenericResult SuspendWorkflow(
	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 SuspendWorkflow()
{
    string workflowId = "AB00010000001578";
    string info = "INFO_TEST";
    a_GenericResult retval = p.rWorkflow.SuspendWorkflow(workflowId, info);
    if (retval.ErrorCode != 0)
        throw new Exception(retval.Message);
    else
        Console.WriteLine("İşlem Başarılı.");
    Console.ReadLine();
}
See Also