TaskMessages
TaskMessages.Instance (SystemMessages.Task) contains message descriptions scraped from mscorlib.dll for System.Threading.Tasks.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA34505D3 | 0x80131502 | TaskContinueWithESandLR | mscorlib.Task_ContinueWith_ESandLR | The specified TaskContinuationOptions combined LongRunning and ExecuteSynchronously. Synchronous continuations should not be long running. | System.ArgumentOutOfRangeException |
0xA34505D4 | 0x80131502 | TaskContinueWithNotOnAnything | mscorlib.Task_ContinueWith_NotOnAnything | The specified TaskContinuationOptions excluded all continuation kinds. | System.ArgumentOutOfRangeException |
0xA34505D5 | 0x80131509 | TaskctorLRandSR | mscorlib.Task_ctor_LRandSR | (Internal)An attempt was made to create a LongRunning SelfReplicating task. | System.InvalidOperationException |
0xA34505D6 | 0x80131502 | TaskDelayInvalidDelay | mscorlib.Task_Delay_InvalidDelay | The value needs to translate in milliseconds to -1 (signifying an infinite timeout), 0 or a positive integer less than or equal to Int32.MaxValue. | System.ArgumentOutOfRangeException |
0xA34505D7 | 0x80131502 | TaskDelayInvalidMillisecondsDelay | mscorlib.Task_Delay_InvalidMillisecondsDelay | The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer. | System.ArgumentOutOfRangeException |
0xA34505D8 | 0x80131509 | TaskDisposeNotCompleted | mscorlib.Task_Dispose_NotCompleted | A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled). | System.InvalidOperationException |
0xA34505D9 | 0x80131502 | TaskFromAsyncLongRunning | mscorlib.Task_FromAsync_LongRunning | It is invalid to specify TaskCreationOptions.LongRunning in calls to FromAsync. | System.ArgumentOutOfRangeException |
0xA34505DA | 0x80131502 | TaskFromAsyncPreferFairness | mscorlib.Task_FromAsync_PreferFairness | It is invalid to specify TaskCreationOptions.PreferFairness in calls to FromAsync. | System.ArgumentOutOfRangeException |
0xA34505DB | 0x80070057 | TaskMultiTaskContinuationEmptyTaskList | mscorlib.Task_MultiTaskContinuation_EmptyTaskList | The tasks argument contains no tasks. | System.ArgumentException |
0xA34505DC | 0x80131502 | TaskMultiTaskContinuationFireOptions | mscorlib.Task_MultiTaskContinuation_FireOptions | It is invalid to exclude specific continuation kinds for continuations off of multiple tasks. | System.ArgumentOutOfRangeException |
0xA34505DD | 0x80070057 | TaskMultiTaskContinuationNullTask | mscorlib.Task_MultiTaskContinuation_NullTask | The tasks argument included a null value. | System.ArgumentException |
0xA34505DE | 0x80131509 | TaskRunSynchronouslyAlreadyStarted | mscorlib.Task_RunSynchronously_AlreadyStarted | RunSynchronously may not be called on a task that was already started. | System.InvalidOperationException |
0xA34505DF | 0x80131509 | TaskRunSynchronouslyContinuation | mscorlib.Task_RunSynchronously_Continuation | RunSynchronously may not be called on a continuation task. | System.InvalidOperationException |
0xA34505E0 | 0x80131509 | TaskRunSynchronouslyPromise | mscorlib.Task_RunSynchronously_Promise | RunSynchronously may not be called on a task not bound to a delegate, such as the task returned from an asynchronous method. | System.InvalidOperationException |
0xA34505E1 | 0x80131509 | TaskRunSynchronouslyTaskCompleted | mscorlib.Task_RunSynchronously_TaskCompleted | RunSynchronously may not be called on a task that has already completed. | System.InvalidOperationException |
0xA34505E2 | 0x80131509 | TaskStartAlreadyStarted | mscorlib.Task_Start_AlreadyStarted | Start may not be called on a task that was already started. | System.InvalidOperationException |
0xA34505E3 | 0x80131509 | TaskStartContinuationTask | mscorlib.Task_Start_ContinuationTask | Start may not be called on a continuation task. | System.InvalidOperationException |
0xA34505E4 | 0x80131509 | TaskStartPromise | mscorlib.Task_Start_Promise | Start may not be called on a promise-style task. | System.InvalidOperationException |
0xA34505E5 | 0x80131509 | TaskStartTaskCompleted | mscorlib.Task_Start_TaskCompleted | Start may not be called on a task that has completed. | System.InvalidOperationException |
0xA34505E6 | 0x80131622 | TaskThrowIfDisposed | mscorlib.Task_ThrowIfDisposed | The task has been disposed. | System.ObjectDisposedException |
0xA34505E7 | 0x80070057 | TaskWaitMultiNullTask | mscorlib.Task_WaitMulti_NullTask | The tasks array included at least one null element. | System.ArgumentException |
0xA34505E8 | 0x8013153B | TaskCanceledExceptionctorDefaultMessage | mscorlib.TaskCanceledException_ctor_DefaultMessage | A task was canceled. | System.Threading.Tasks.TaskCanceledException |
0xA34505E9 | 0x80070057 | TaskCompletionSourceTTrySetExceptionNoExceptions | mscorlib.TaskCompletionSourceT_TrySetException_NoExceptions | The exceptions collection was empty. | System.ArgumentException |
0xA34505EA | 0x80070057 | TaskCompletionSourceTTrySetExceptionNullException | mscorlib.TaskCompletionSourceT_TrySetException_NullException | The exceptions collection included at least one null element. | System.ArgumentException |
0xA34505EB | 0x80131500 | TaskExceptionHolderUnhandledException | mscorlib.TaskExceptionHolder_UnhandledException | A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. | System.AggregateException |
0xA34505EC | 0x80070057 | TaskExceptionHolderUnknownExceptionType | mscorlib.TaskExceptionHolder_UnknownExceptionType | (Internal)Expected an Exception or an IEnumerable |
System.ArgumentException |
0xA34505ED | 0x80131509 | TaskSchedulerExecuteTaskWrongTaskScheduler | mscorlib.TaskScheduler_ExecuteTask_WrongTaskScheduler | ExecuteTask may not be called for a task which was previously queued to a different TaskScheduler. | System.InvalidOperationException |
0xA34505EE | 0x80131509 | TaskSchedulerFromCurrentSynchronizationContextNoCurrent | mscorlib.TaskScheduler_FromCurrentSynchronizationContext_NoCurrent | The current SynchronizationContext may not be used as a TaskScheduler. | System.InvalidOperationException |
0xA34505EF | 0x80131509 | TaskSchedulerInconsistentStateAfterTryExecuteTaskInline | mscorlib.TaskScheduler_InconsistentStateAfterTryExecuteTaskInline | The TryExecuteTaskInline call to the underlying scheduler succeeded, but the task body was not invoked. | System.InvalidOperationException |
0xA34505F0 | 0x80131500 | TaskSchedulerExceptionctorDefaultMessage | mscorlib.TaskSchedulerException_ctor_DefaultMessage | An exception was thrown by a TaskScheduler. | System.Threading.Tasks.TaskSchedulerException |
0xA34505F1 | 0x80131502 | TaskTctorSelfReplicating | mscorlib.TaskT_ctor_SelfReplicating | It is invalid to specify TaskCreationOptions.SelfReplicating for a Task |
System.ArgumentOutOfRangeException |
0xA34505F2 | 0x80131502 | TaskTDebuggerNoResult | mscorlib.TaskT_DebuggerNoResult | {Not yet computed} | System.ArgumentOutOfRangeException |
0xA34505F3 | 0x80131509 | TaskTTransitionToFinalAlreadyCompleted | mscorlib.TaskT_TransitionToFinal_AlreadyCompleted | An attempt was made to transition a task to a final state when it had already completed. | System.InvalidOperationException |
0xA345076A | TaskAwaiterTaskNotCompleted | mscorlib.TaskAwaiter_TaskNotCompleted | The awaited task has not yet completed. | ||
0xA345076E | TaskSchedulerExecuteTaskTaskAlreadyExecuted | mscorlib.TaskScheduler_ExecuteTask_TaskAlreadyExecuted | ExecuteTask may not be called for a task which was already executed. | ||
0xA345076B | TaskTSetExceptionHasAnInitializer | mscorlib.TaskT_SetException_HasAnInitializer | A task's Exception may only be set directly if the task was created without a function. | ||
0xA345076D | TaskFromAsyncSelfReplicating | mscorlib.Task_FromAsync_SelfReplicating | It is invalid to specify TaskCreationOptions.SelfReplicating in calls to FromAsync. | ||
0xA345076C | TaskFromAsyncTaskManagerShutDown | mscorlib.Task_FromAsync_TaskManagerShutDown | FromAsync was called with a TaskManager that had already shut down. | ||
0xA3450777 | TaskCompleted | mscorlib.event_TaskCompleted | Task {2} completed. | ||
0xA3450775 | TaskScheduled | mscorlib.event_TaskScheduled | Task {2} scheduled to TaskScheduler {0}. | ||
0xA3450776 | TaskStarted | mscorlib.event_TaskStarted | Task {2} executing. | ||
0xA3450778 | TaskWaitBegin | mscorlib.event_TaskWaitBegin | Beginning wait ({3}) on Task {2}. | ||
0xA3450779 | TaskWaitEnd | mscorlib.event_TaskWaitEnd | Ending wait on Task {2}. |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/