RollbackTransaction() protected méthode

protected RollbackTransaction ( int commitId ) : void
commitId int
Résultat void
Exemple #1
0
            private IMessageEnvelope ProcessRollback(IDictionary <string, object> metadata, RollbackRequest request)
            {
                try {
                    connector.AssertNotDisposed();
                    connector.AssertAuthenticated();

                    connector.RollbackTransaction(request.TransactionId);
                    return(connector.CreateEnvelope(metadata, new AcknowledgeResponse(true)));
                } catch (Exception ex) {
                    // TODO: Log the error ...
                    return(CreateErrorResponse(metadata, ex));
                }
            }