This repository was archived by the owner on Oct 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
test/Microsoft.Azure.ServiceBus.UnitTests/API Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -477,6 +477,14 @@ namespace Microsoft.Azure.ServiceBus
477477namespace Microsoft.Azure.ServiceBus.Core
478478{
479479
480+ [System.Diagnostics.DebuggerDisplayAttribute("{DebuggerDisplay,nq}")]
481+ public class Batch : System.IDisposable
482+ {
483+ public Batch(long maximumBatchSize) { }
484+ public void Dispose() { }
485+ public Microsoft.Azure.Amqp.AmqpMessage ToAmqpMessage() { }
486+ public bool TryAdd(Microsoft.Azure.ServiceBus.Message message) { }
487+ }
480488 public interface IMessageReceiver : Microsoft.Azure.ServiceBus.Core.IReceiverClient, Microsoft.Azure.ServiceBus.IClientEntity
481489 {
482490 long LastPeekedSequenceNumber { get; }
@@ -578,6 +586,7 @@ namespace Microsoft.Azure.ServiceBus.Core
578586 public System.Threading.Tasks.Task<long> ScheduleMessageAsync(Microsoft.Azure.ServiceBus.Message message, System.DateTimeOffset scheduleEnqueueTimeUtc) { }
579587 public System.Threading.Tasks.Task SendAsync(Microsoft.Azure.ServiceBus.Message message) { }
580588 public System.Threading.Tasks.Task SendAsync(System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message> messageList) { }
589+ public System.Threading.Tasks.Task SendAsync(Microsoft.Azure.ServiceBus.Core.Batch batch) { }
581590 public override void UnregisterPlugin(string serviceBusPluginName) { }
582591 }
583592 public abstract class ServiceBusPlugin
You can’t perform that action at this time.
0 commit comments