Skip to content

Commit

Permalink
docs(azure): fix invalid type parameter reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jayharris committed Apr 3, 2024
1 parent 27923d2 commit ea40d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/azure/src/azure/ServiceBus/TaskQueue/TaskHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public Type GetHandledRequestType() {
/// <summary>
/// Executes before the main execution of the task. This method can be overridden in derived classes.
/// </summary>
/// <param name="taskRequest">The <see cref="TTaskRequest"/> to handle.</param>
/// <param name="taskRequest">The <typeparamref name="TTaskRequest"/> to handle.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> that can be used to cancel the operation.</param>
/// <returns>A <see cref="Task"/> that represents the asynchronous operation. The task result contains a boolean indicating whether the operation was successful.</returns>
protected virtual Task<bool> BeforeExecuteAsync(TTaskRequest taskRequest, CancellationToken cancellationToken = default) {
Expand All @@ -26,15 +26,15 @@ protected virtual Task<bool> BeforeExecuteAsync(TTaskRequest taskRequest, Cancel
/// <summary>
/// Executes the main logic of the task. This method must be overridden in derived classes.
/// </summary>
/// <param name="taskRequest">The <see cref="TTaskRequest"/> to handle.</param>
/// <param name="taskRequest">The <typeparamref name="TTaskRequest"/> to handle.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> that can be used to cancel the operation.</param>
/// <returns>A <see cref="Task"/> that represents the asynchronous operation. The task result contains a boolean indicating whether the operation was successful.</returns>
protected abstract Task<bool> ExecuteAsync(TTaskRequest taskRequest, CancellationToken cancellationToken = default);

/// <summary>
/// Executes after the main execution of the task. This method can be overridden in derived classes.
/// </summary>
/// <param name="taskRequest">The <see cref="TTaskRequest"/> to handle.</param>
/// <param name="taskRequest">The <typeparamref name="TTaskRequest"/> to handle.</param>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> that can be used to cancel the operation.</param>
/// <returns>A <see cref="Task"/> that represents the asynchronous operation. The task result contains a boolean indicating whether the operation was successful.</returns>
protected virtual Task<bool> AfterExecuteAsync(TTaskRequest taskRequest, CancellationToken cancellationToken = default) {
Expand Down

0 comments on commit ea40d5e

Please sign in to comment.