How can we improve the Windows Azure Service Bus?

Throw a better error message than "Object not set to instance error" when calling "RenewLock" on message from a Queue Peek()

If you call the Peek() method on the QueueClient class and it returns a BrokeredMessage and then you call RenewLock it throws an "Object reference not set to the instance of an object". It should really throw an error that says "You can't call RenewLock on a BrokeredMessage received through Peek. Use Receive() instead to use the RenewLock feature."

1 vote
Vote
Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Paul Mendoza shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base