/// <summary>
 /// <remarks> Default is 1,024 MB.</remarks>
 /// </summary>
 public AzureServiceBusTopicSettings MaxSizeInMegabytes(SizeInMegabytes maxSizeInMegabytes)
 {
     topicSettings.MaxSizeInMegabytes = maxSizeInMegabytes;
     return(this);
 }
        /// <summary>
        /// <remarks> Default is 1,024 MB.</remarks>
        /// </summary>
        public AzureServiceBusQueueSettings MaxSizeInMegabytes(SizeInMegabytes maxSizeInMegabytes)
        {
            settings.Set(WellKnownConfigurationKeys.Topology.Resources.Queues.MaxSizeInMegabytes, (long)maxSizeInMegabytes);

            return(this);
        }
Example #3
0
        /// <summary>
        /// <remarks> Default is 1,024 MB.</remarks>
        /// </summary>
        public AzureServiceBusQueueSettings MaxSizeInMegabytes(SizeInMegabytes maxSizeInMegabytes)
        {
            queueSettings.MaxSizeInMegabytes = maxSizeInMegabytes;

            return(this);
        }