Waits for message submission to complete.

C# |
public SubmissionState WaitForSubmissionComplete( long timeoutInSeconds )

- timeoutInSeconds (Int64)
- The timeout in seconds. The valid range of the values for timeout is 0 - 31,556,926 seconds.

The current state of the submission.

Blocks the calling thread until the message associated with this handle has either reached a final (i.e. SubmitCompleted/SubmitFailed) state or the timeout (in seconds) has expired.