Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit c00a3dd

Browse files
committed
Update XML doco with correct maximum value
1 parent 54fc588 commit c00a3dd

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/Microsoft.Azure.ServiceBus/Management/QueueDescription.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public QueueDescription(string path)
3535
/// <summary>
3636
/// Path of the queue relative to the namespace base address.
3737
/// </summary>
38-
/// <remarks>Max length is 260 chars. Cannot start or end with a slash.
38+
/// <remarks>Max length is 260 chars. Cannot start or end with a slash.
3939
/// Cannot have restricted characters: '@','?','#','*'</remarks>
4040
public string Path
4141
{
@@ -81,7 +81,7 @@ public TimeSpan LockDuration
8181
/// </summary>
8282
/// <remarks>
8383
/// If true, the receiver can only recieve messages using <see cref="SessionClient.AcceptMessageSessionAsync()"/>.
84-
/// Defaults to false.
84+
/// Defaults to false.
8585
/// </remarks>
8686
public bool RequiresSession { get; set; } = false;
8787

@@ -91,7 +91,7 @@ public TimeSpan LockDuration
9191
/// <remarks>
9292
/// This is the default value used when <see cref="Message.TimeToLive"/> is not set on a
9393
/// message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store.
94-
/// Subscribers will be unable to receive expired messages.
94+
/// Subscribers will be unable to receive expired messages.
9595
/// Default value is <see cref="TimeSpan.MaxValue"/>.
9696
/// </remarks>
9797
public TimeSpan DefaultMessageTimeToLive
@@ -138,7 +138,7 @@ public TimeSpan AutoDeleteOnIdle
138138
/// The <see cref="TimeSpan"/> duration of duplicate detection history that is maintained by the service.
139139
/// </summary>
140140
/// <remarks>
141-
/// The default value is 1 minute. Max value is 1 day and minimum is 20 seconds.
141+
/// The default value is 1 minute. Max value is 7 days and minimum is 20 seconds.
142142
/// </remarks>
143143
public TimeSpan DuplicateDetectionHistoryTimeWindow
144144
{
@@ -158,7 +158,7 @@ public TimeSpan DuplicateDetectionHistoryTimeWindow
158158
/// <summary>
159159
/// The maximum delivery count of a message before it is dead-lettered.
160160
/// </summary>
161-
/// <remarks>The delivery count is increased when a message is received in <see cref="ReceiveMode.PeekLock"/> mode
161+
/// <remarks>The delivery count is increased when a message is received in <see cref="ReceiveMode.PeekLock"/> mode
162162
/// and didn't complete the message before the message lock expired.
163163
/// Default value is 10. Minimum value is 1.</remarks>
164164
public int MaxDeliveryCount
@@ -206,7 +206,7 @@ internal set
206206
/// <summary>
207207
/// The path of the recipient entity to which all the messages sent to the queue are forwarded to.
208208
/// </summary>
209-
/// <remarks>If set, user cannot manually receive messages from this queue. The destination entity
209+
/// <remarks>If set, user cannot manually receive messages from this queue. The destination entity
210210
/// must be an already existing entity.</remarks>
211211
public string ForwardTo
212212
{

src/Microsoft.Azure.ServiceBus/Management/TopicDescription.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public TopicDescription(string path)
3333
/// <remarks>
3434
/// This is the default value used when <see cref="Message.TimeToLive"/> is not set on a
3535
/// message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store.
36-
/// Subscribers will be unable to receive expired messages.
36+
/// Subscribers will be unable to receive expired messages.
3737
/// Default value is <see cref="TimeSpan.MaxValue"/>.
3838
/// </remarks>
3939
public TimeSpan DefaultMessageTimeToLive
@@ -88,7 +88,7 @@ public TimeSpan AutoDeleteOnIdle
8888
/// The <see cref="TimeSpan"/> duration of duplicate detection history that is maintained by the service.
8989
/// </summary>
9090
/// <remarks>
91-
/// The default value is 1 minute. Max value is 1 day and minimum is 20 seconds.
91+
/// The default value is 1 minute. Max value is 7 days and minimum is 20 seconds.
9292
/// </remarks>
9393
public TimeSpan DuplicateDetectionHistoryTimeWindow
9494
{
@@ -108,7 +108,7 @@ public TimeSpan DuplicateDetectionHistoryTimeWindow
108108
/// <summary>
109109
/// Path of the topic relative to the namespace base address.
110110
/// </summary>
111-
/// <remarks>Max length is 260 chars. Cannot start or end with a slash.
111+
/// <remarks>Max length is 260 chars. Cannot start or end with a slash.
112112
/// Cannot have restricted characters: '@','?','#','*'</remarks>
113113
public string Path
114114
{
@@ -153,8 +153,8 @@ internal set
153153
public bool EnablePartitioning { get; set; } = false;
154154

155155
/// <summary>
156-
/// Defines whether ordering needs to be maintained. If true, messages sent to topic will be
157-
/// forwarded to the subscription in order.
156+
/// Defines whether ordering needs to be maintained. If true, messages sent to topic will be
157+
/// forwarded to the subscription in order.
158158
/// </summary>
159159
/// <remarks>Defaults to false.</remarks>
160160
public bool SupportOrdering { get; set; } = false;
@@ -190,7 +190,7 @@ public string UserMetadata
190190

191191
/// <summary>
192192
/// List of properties that were retrieved using GetTopic but are not understood by this version of client is stored here.
193-
/// The list will be sent back when an already retrieved TopicDescription will be used in UpdateTopic call.
193+
/// The list will be sent back when an already retrieved TopicDescription will be used in UpdateTopic call.
194194
/// </summary>
195195
internal List<object> UnknownProperties { get; set; }
196196

@@ -207,7 +207,7 @@ public override bool Equals(object obj)
207207

208208
public bool Equals(TopicDescription otherDescription)
209209
{
210-
if (otherDescription is TopicDescription other
210+
if (otherDescription is TopicDescription other
211211
&& this.Path.Equals(other.Path, StringComparison.OrdinalIgnoreCase)
212212
&& this.AutoDeleteOnIdle.Equals(other.AutoDeleteOnIdle)
213213
&& this.DefaultMessageTimeToLive.Equals(other.DefaultMessageTimeToLive)

0 commit comments

Comments
 (0)