Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public Task MyCallBack(Message msg, CancellationToken token)
  2. {
  3. // Read msg. Do something
  4.  
  5. // Since everything ran fine, complete the msg.
  6. await _client.CompleteAsync(msg.SystemProperties.LockToken);
  7. }
  8.  
  9. System.InvalidOperationException: Operation is not valid due to the current state of the object.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement