Platform Symphony .NET API Reference - Version 5.1
WaitForSubmissionComplete Method (timeoutInSeconds, throwOnSubmissionFailure)
NamespacesPlatform.Symphony.SoamTaskInputHandleWaitForSubmissionComplete(Int64, Boolean)
Waits for message submission to complete.
Declaration Syntax
C#
public SubmissionState WaitForSubmissionComplete(
	long timeoutInSeconds,
	bool throwOnSubmissionFailure
)
Parameters
timeoutInSeconds (Int64)
The timeout in seconds. The valid range of the values for timeout is 0 - 31,556,926 seconds, -1 = infinite.
throwOnSubmissionFailure (Boolean)
When set to true the method will throw an exception if the submission ends in failure. When set to false the method will simply return the final state.
Return Value
The current state of the submission.
Remarks
Blocks the calling thread until the message associated with this handle has either reached a final state (i.e. SubmitCompleted/SubmitFailed) or the timeout (in seconds) has expired.

Assembly: Platform.Symphony.Soam.Net (Module: Platform.Symphony.Soam.Net) Version: 5.1.0.0