Previous Topic: Method SetMessageAttributes

Next Topic: Method CommitAsync

Method Commit

This method commits a message that was analyzed using deferred completion.

Important!  Commit() must only be called if the object was imported synchronously (by using ImportObject()).

HRESULT Commit();

Return values for Commit method

S_OK

The synchronous commit operation completed successfully.

Error code

Any return value that fails the SUCCEEDED() macro, indicating that the synchronous commit operation failed.