Methods / Methods for Events |
Retrieves an event object. This service call is usually used to check if a service call has been completed.
IWFWorkflowService svc = GetWorkflowService(); string eventID = …// for example, "049C3974240F47D3BA8EB6D4A3CDCD3F"; try { WFEvent evt = _workflowAPI.GetEvent(eventID); Console.WriteLine("Event ID: '{0}'", evt.EventID); Console.WriteLine("Event Name: '{0}'",evt.EventName); Console.WriteLine("Event Status: '{0}'",evt.Status); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }