We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 771c61c commit 3206e03Copy full SHA for 3206e03
src/Microsoft.Azure.ServiceBus/Core/MessageBatch.cs
@@ -134,7 +134,7 @@ private void ThrowIfDisposed()
134
{
135
if (result == null)
136
137
- throw new Exception("MessageBatch is has been disposed and cannot be re-used.");
+ throw new ObjectDisposedException("MessageBatch is has been disposed and cannot be re-used.");
138
}
139
140
0 commit comments