You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SignalR/clients/csharp/Client.Core/src/HubConnectionExtensions.InvokeAsync.cs
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
usingSystem;
5
+
usingSystem.Diagnostics.CodeAnalysis;
5
6
usingSystem.Threading;
6
7
usingSystem.Threading.Tasks;
7
8
@@ -19,6 +20,7 @@ public partial class HubConnectionExtensions
19
20
/// <param name="methodName">The name of the server method to invoke.</param>
20
21
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
21
22
/// <returns>A <see cref="Task{TResult}"/> that represents the asynchronous invoke.</returns>
23
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="arg1">The first argument.</param>
33
35
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
34
36
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
37
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="arg2">The second argument.</param>
47
50
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
48
51
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
52
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="arg3">The third argument.</param>
62
66
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
63
67
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
68
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
79
84
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
85
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
96
102
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
103
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
114
121
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
122
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
133
141
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
142
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
153
162
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
163
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
174
184
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
185
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
196
207
/// <returns>A <see cref="Task"/> that represents the asynchronous invoke.</returns>
208
+
[SuppressMessage("ApiDesign","RS0026:Do not add multiple overloads with optional parameters",Justification="Required to maintain compatibility")]
0 commit comments