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

Commit dcbe414

Browse files
committed
Updating public API
1 parent 29b3316 commit dcbe414

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/Microsoft.Azure.ServiceBus.UnitTests/API/ApiApprovals.ApproveAzureServiceBus.approved.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,14 @@ namespace Microsoft.Azure.ServiceBus
477477
namespace 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

0 commit comments

Comments
 (0)