Skip to content

Commit 3ba4c10

Browse files
fix readme (Azure#13281)
1 parent 49f3799 commit 3ba4c10

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sdk/servicebus/Azure.Messaging.ServiceBus/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Thank you to our developer community members who helped to make the Service Bus
1717
- Rename CreateBatchOptions to CreateMessageBatchOptions
1818
- Rename ServiceBusMessageBatch.TryAdd to ServiceBusMessageBatch.TryAddMessage
1919
- Change output list type from IList<ServiceBusReceivedMessage> to IReadOnlyList<ServiceBusReceivedMessage>
20+
- Removed ServiceBusException.FailureReason.ClientClosed in favor of throwing ObjectDisposedException
2021

2122

2223
## 7.0.0-preview.3 (2020-06-08)

sdk/servicebus/Azure.Messaging.ServiceBus/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To quickly create the needed Service Bus resources in Azure and to receive a con
3737
Install the Azure Service Bus client library for .NET with [NuGet](https://www.nuget.org/):
3838

3939
```PowerShell
40-
dotnet add package Azure.Messaging.ServiceBus --version 7.0.0-preview.3
40+
dotnet add package Azure.Messaging.ServiceBus --version 7.0.0-preview.4
4141
```
4242

4343
### Authenticate the client
@@ -333,8 +333,6 @@ A `ServiceBusException` is triggered when an operation specific to Service Bus h
333333

334334
- `Reason` : Provides a set of well-known reasons for the failure that help to categorize and clarify the root cause. These are intended to allow for applying exception filtering and other logic where inspecting the text of an exception message wouldn't be ideal. Some key failure reasons are:
335335

336-
- **Client Closed** : This occurs when an operation has been requested on a Service Bus client that has already been closed or disposed of. It is recommended to check the application code and ensure that objects from the Service Bus client library are created and closed/disposed in the intended scope.
337-
338336
- **Service Timeout** : This indicates that the Service Bus service did not respond to an operation within the expected amount of time. This may have been caused by a transient network issue or service problem. The Service Bus service may or may not have successfully completed the request; the status is not known. It is recommended to attempt to verify the current state and retry if necessary.
339337

340338
- **Message Lock Lost** : This can occur if the processing takes longer than the lock duration specified at the entity level for a message. If this error occurs consistently, it may be worth increasing the message lock duration. Otherwise, callers can renew the message lock while they are processing the message to ensure that this error doesn't occur.

0 commit comments

Comments
 (0)