Skip to content

Commit 6be3222

Browse files
committed
* Code documentation
1 parent 6215626 commit 6be3222

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

projects/RabbitMQ.Client/IChannel.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@ Task<string> BasicConsumeAsync(string queue, bool autoAck, string consumerTag, b
204204
/// <param name="cancellationToken">CancellationToken for this operation.</param>
205205
/// <remarks>
206206
/// Routing key must be shorter than 255 bytes.
207-
/// TODO
208-
/// Throws <see cref="Exception"/> if a nack or basic.return is returned for the message.
207+
/// Throws <see cref="Exceptions.PublishException"/> if a nack or basic.return is returned for the message.
209208
/// </remarks>
210209
ValueTask BasicPublishAsync<TProperties>(string exchange, string routingKey,
211210
bool mandatory, TProperties basicProperties, ReadOnlyMemory<byte> body,
@@ -223,8 +222,7 @@ ValueTask BasicPublishAsync<TProperties>(string exchange, string routingKey,
223222
/// <param name="cancellationToken">CancellationToken for this operation.</param>
224223
/// <remarks>
225224
/// Routing key must be shorter than 255 bytes.
226-
/// TODO
227-
/// Throws <see cref="Exception"/> if a nack or basic.return is returned for the message.
225+
/// Throws <see cref="Exceptions.PublishException"/> if a nack or basic.return is returned for the message.
228226
/// </remarks>
229227
ValueTask BasicPublishAsync<TProperties>(CachedString exchange, CachedString routingKey,
230228
bool mandatory, TProperties basicProperties, ReadOnlyMemory<byte> body,

0 commit comments

Comments
 (0)