Skip to content

Commit 0bc48e3

Browse files
author
Emil Einarsson
committed
remove additions from core interfaces
1 parent 318dabb commit 0bc48e3

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

src/Microsoft.Azure.ServiceBus/Core/IMessageReceiver.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,6 @@ public interface IMessageReceiver : IReceiverClient
133133
/// </remarks>
134134
Task RenewLockAsync(Message message);
135135

136-
/// <summary>
137-
/// Renews the locks on the messages. The locks will be renewed based on the setting specified on the queue.
138-
/// </summary>
139-
/// <remarks>
140-
/// When messages are received in <see cref="ServiceBus.ReceiveMode.PeekLock"/> mode, the messages is locked on the server for this
141-
/// receiver instance for a duration as specified during the Queue/Subscription creation (LockDuration).
142-
/// If processing of the messages requires longer than this duration, the lock needs to be renewed.
143-
/// For each renewal, it resets the time the message is locked by the LockDuration set on the Entity.
144-
/// </remarks>
145-
Task RenewLocksAsync(IEnumerable<Message> messages);
146-
147136
/// <summary>
148137
/// Renews the lock on the message. The lock will be renewed based on the setting specified on the queue.
149138
/// <returns>New lock token expiry date and time in UTC format.</returns>

src/Microsoft.Azure.ServiceBus/Core/IReceiverClient.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,6 @@ public interface IReceiverClient : IClientEntity
6363
/// <remarks>Enable prefetch to speed up the receive rate.</remarks>
6464
void RegisterMessageHandler(Func<Message, CancellationToken, Task> handler, MessageHandlerOptions messageHandlerOptions);
6565

66-
/// <summary>
67-
/// Receive messages continuously from the entity. Registers a message handler and begins a new thread to receive messages.
68-
/// This handler(<see cref="Func{Message, CancellationToken, Task}"/>) is awaited on every time a new message is received by the receiver.
69-
/// </summary>
70-
/// <param name="handler">A <see cref="Func{Message, CancellationToken, Task}"/> that processes messages.</param>
71-
/// <param name="exceptionReceivedHandler">A <see cref="Func{T1, TResult}"/> that is invoked during exceptions.
72-
/// <see cref="ExceptionReceivedEventArgs"/> contains contextual information regarding the exception.</param>
73-
/// <remarks>Enable prefetch to speed up the receive rate.
74-
/// Use <see cref="RegisterMessageHandler(Func{Message,CancellationToken,Task}, MessageHandlerOptions)"/> to configure the settings of the pump.</remarks>
75-
void RegisterMessageHandler(Func<IEnumerable<Message>, CancellationToken, Task> handler, Func<ExceptionReceivedEventArgs, Task> exceptionReceivedHandler);
76-
77-
/// <summary>
78-
/// Receive messages continuously from the entity. Registers a message handler and begins a new thread to receive messages.
79-
/// This handler(<see cref="Func{Message, CancellationToken, Task}"/>) is awaited on every time a new message is received by the receiver.
80-
/// </summary>
81-
/// <param name="handler">A <see cref="Func{Message, CancellationToken, Task}"/> that processes messages.</param>
82-
/// <param name="messageHandlerOptions">The <see cref="MessageHandlerOptions"/> options used to configure the settings of the pump.</param>
83-
/// <remarks>Enable prefetch to speed up the receive rate.</remarks>
84-
void RegisterMessageHandler(Func<IEnumerable<Message>, CancellationToken, Task> handler, MessageHandlerOptions messageHandlerOptions);
85-
86-
8766
/// <summary>
8867
/// Completes a <see cref="Message"/> using its lock token. This will delete the message from the queue.
8968
/// </summary>

0 commit comments

Comments
 (0)