42 references to IsFaulted
mscorlib (16)
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (4)
234Contract.Requires(faultedTask != null && faultedTask.IsFaulted && faultedTask.Exception.InnerExceptions.Count > 0, 370if (!exclusiveTask.IsFaulted) m_exclusiveTaskScheduler.ExecuteTask(exclusiveTask); 419if (!concurrentTask.IsFaulted) m_concurrentTaskScheduler.ExecuteTask(concurrentTask); 634Contract.Assert(t.IsFaulted, "Task should be faulted due to the scheduler faulting it and throwing the exception.");
system\threading\Tasks\Task.cs (12)
1410if (IsFaulted) e = GetExceptions(false); 1415Contract.Assert((e == null) || IsFaulted, "Task.Exception_get(): returning non-null value when not Faulted"); 1737/// If <see cref="IsFaulted"/> is true, the Task's <see cref="Status"/> will be equal to 2123bool exceptionsAvailable = IsFaulted && ExceptionRecorded; 2378if (childTask.IsFaulted && !childTask.IsExceptionObservedByParent) 2434if (task.IsFaulted && !task.IsExceptionObservedByParent) 2841etwLog.TaskCompleted(previousTask.m_taskScheduler.Id, previousTask.Id, this.Id, IsFaulted); 2843etwLog.TaskCompleted(TaskScheduler.Current.Id, 0, this.Id, IsFaulted); 5100if (task.IsFaulted) exceptionSeen = true; 5119if (task.IsFaulted) exceptionSeen = true; 6144if (task.IsFaulted) 6389if (task.IsFaulted)
System.Data (17)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
275} else if (task.IsFaulted) {
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
520if (t.IsFaulted) { 763if (t.IsFaulted) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (10)
1376else if (completionTask.IsFaulted) { 1418if (!isInternal && (!IsColumnEncryptionEnabled || !completionTask.IsFaulted)) { 2212if (tsk.IsFaulted) { 2275if (retryTsk.IsFaulted) { 2427if (t.IsFaulted) { 2450if (result.IsFaulted) { 2491if (t.IsFaulted) { 2519else if (executeTask.IsFaulted) { 2530else if (readTask.IsFaulted) { 2595if (t.IsFaulted) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1475if (retryTask.IsFaulted) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
4576if (retryTask.IsFaulted) { 4662if (task.IsFaulted) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8007if (t.IsFaulted) {
System.ServiceModel (6)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3257if (task.IsFaulted)
System\ServiceModel\Channels\HttpRequestContext.cs (1)
1126if (acceptTask.IsFaulted)
System\ServiceModel\Channels\WebSocketHelper.cs (1)
327if (task.IsFaulted)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (3)
101if (invokeTask.IsFaulted) 119if (task.IsFaulted) 292if (antecedent.IsFaulted)
System.ServiceModel.Internals (2)
System\Runtime\TaskExtensions.cs (2)
30if (t.IsFaulted) 72if (t.IsFaulted)
System.Web (1)
Util\SynchronizationHelper.cs (1)
185if (t.IsFaulted) {