Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Task MyCallBack(Message msg, CancellationToken token)
- {
- // Read msg. Do something
- // Since everything ran fine, complete the msg.
- await _client.CompleteAsync(msg.SystemProperties.LockToken);
- }
- System.InvalidOperationException: Operation is not valid due to the current state of the object.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement