diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Administration/SubscriptionProperties.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Administration/SubscriptionProperties.cs index b50963f870abe..8ee95816773f2 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Administration/SubscriptionProperties.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Administration/SubscriptionProperties.cs @@ -176,7 +176,7 @@ public int MaxDeliveryCount Argument.AssertAtLeast( value, AdministrationClientConstants.MinAllowedMaxDeliveryCount, - nameof(AutoDeleteOnIdle)); + nameof(MaxDeliveryCount)); _maxDeliveryCount = value; }