A task was canceled - what does this mean?
<p>I'm using the Azure Search .Net SDK.</p>

<p>I'm calling a synchronous (NOT ASYNC) function like this:</p>

<pre><code>var searchResults = searchIndexClient.Documents.Search&lt;T&gt;(searchText, searchParameters);
</code></pre>

<p>It usually works. I'm not using any async functions, but somehow the error I just got looks like an async error:</p>

<pre><code>System.Threading.Tasks.TaskCanceledException: A task was canceled.

CancellationToken: IsCanceleationRequested=false

Task: Id = 556, Status = Canceled, Method = "{null}", Result = "{Not yet computed}"

StackTrace:
</code></pre>

<blockquote>
  <p>at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable<code>1.ConfiguredTaskAwaiter.GetResult()
     at Microsoft.Azure.Search.DocumentsOperations.&lt;DoContinueSearchWithHttpMessagesAsync&gt;d__15</code>3.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.ConfiguredTaskAwaitable<code>1.ConfiguredTaskAwaiter.GetResult()
     at Microsoft.Azure.Search.DocumentsOperationsExtensions.&lt;SearchAsync&gt;d__15</code>1.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter<code>1.GetResult()
     at Microsoft.Azure.Search.DocumentsOperationsExtensions.Search[T](IDocumentsOperations operations, String searchText, SearchParameters searchParameters, SearchRequestOptions searchRequestOptions)
     at MyApp.AzureSearch.AzureSearchService.PerformSearch[T](String searchText, SearchParameters searchParameters) in c:\Projects\MyAppServer\src\MyApp.AzureSearch\AzureSearchService.cs:line 359
     at MyApp.AzureSearch.AzureSearchService.Search[T](String searchText, List</code>1 searchFields, SearchMode searchMode, List<code>1 select, Nullable</code>1 skip, Nullable<code>1 top, String filter, Boolean includeTotalResultCount, List</code>1 orderBy) in c:\Projects\MyAppServer\src\MyApp.AzureSearch\AzureSearchService.cs:line 262
     at MyApp.AzureSearch.AzureSearchService.SearchEmails(Guid userId, String origin, String searchText, Nullable<code>1 skip, Nullable</code>1 top, Boolean includeTotalResultCount, Boolean includeHtmlBody, Boolean orderByProcessedAscending, String interactionStatus) in c:\Projects\MyAppServer\src\MyApp.AzureSearch\AzureSearchService.cs:line 167
     at MyApp.Domain.MyAppMessages.Command.MyAppMessagesAllNoticedUpdater.Handle(VisitorSession userSession, NoticeAllMyAppMessages processCommand) in c:\Projects\MyAppServer\src\MyApp.Domain\MyAppMessages\Command\MyAppMessagesAllNoticedUpdater.cs:line 30</p>
</blockquote>