TASK_STATE_FAULTED Field
The task completed due to an unhandled exception.
备注
This information is specific to .NET Framework 4 and is subject to change in a future release.
Because you cannot access these members from the .NET Framework, this topic provides syntax in Microsoft intermediate language (MSIL). For more information about MSIL, see Compiling to MSIL.
Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
.field static assembly literal int32 TASK_STATE_FAULTED = int32(0x00400000)
Remarks
If the m_stateFlags field contains this value, the Status property returns TaskStatus.Faulted.