Make Groups.Remove monospace (#7552)

pull/7554/head
philxchen 2018-07-10 21:39:08 -04:00 committed by Luke Latham
parent 5cdd18fc83
commit 3594893b30
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ If you want to add a client to a group and immediately send a message to the cli
[!code-csharp[Main](working-with-groups/samples/sample2.cs?highlight=1,3)]
In general, you should not include `await` when calling the `Groups.Remove` method because the connection id that you are trying to remove might no longer be available. In that case, `TaskCanceledException` is thrown after the request times out. If your application must ensure that the user has been removed from the group before sending a message to the group, you can add `await` before Groups.Remove, and then catch the `TaskCanceledException` exception that might be thrown.
In general, you should not include `await` when calling the `Groups.Remove` method because the connection id that you are trying to remove might no longer be available. In that case, `TaskCanceledException` is thrown after the request times out. If your application must ensure that the user has been removed from the group before sending a message to the group, you can add `await` before `Groups.Remove`, and then catch the `TaskCanceledException` exception that might be thrown.
<a id="call"></a>