Deveel.Data.Client.ConnectionClient.RollbackTransaction C# (CSharp) 메소드

RollbackTransaction() 공개 메소드

public RollbackTransaction ( int transactionId ) : void
transactionId int
리턴 void
        public void RollbackTransaction(int transactionId)
        {
            var response = SendMessage(new RollbackRequest(transactionId))
                as AcknowledgeResponse;

            if (response == null)
                throw new InvalidOperationException();

            if (!response.State)
                throw new DeveelDbServerException("Unable to rollback the transaction on the server.", -1, -1);
        }