9 writes to Error
System.ServiceModel (9)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
176rpc.Error = null;
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
827rpc.Error = exception; 1674rpc.Error = e;
System\ServiceModel\Dispatcher\MessageRpc.cs (2)
99this.Error = null; 472this.Error = e;
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (1)
163rpc.Error = e;
System\ServiceModel\Dispatcher\TransactionBehavior.cs (3)
404rpc.Transaction.ThreadEnter(ref rpc.Error); 671rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true); 739rpc.Error = TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionAsyncAborted), FaultCodeConstants.Codes.TransactionAborted, true);
22 references to Error
System.ServiceModel (22)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
474if (rpc.Error == null) 680if ((rpc.Error == null) && !this.isSynchronous)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (6)
31Exception error = rpc.Error; 54if (rpc.Error != null) 69this.ProvideFault(rpc.Error, rpc.Channel.GetProperty<FaultConverter>(), ref rpc.FaultInfo); 120this.ProvideFaultOfLastResort(rpc.Error, ref rpc.FaultInfo); 165if (rpc.Error != null) 173bool handled = HandleErrorCommon(rpc.Error, ref rpc.FaultInfo);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (5)
360if (reply != null && rpc.Error == null) 409if (reply != null && rpc.Error == null) 1665bool hadError = (rpc.Error != null); 1672if (rpc.Error == null) 1679if (!hadError && rpc.Error != null)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
124(rpc.transaction.IsCompleted || (rpc.Error != null)))
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
479return (this.Error == null);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (7)
124rpc.Transaction.Complete(rpc.Error); 669if (rpc.Error == null) //we don't want to mask the initial error 672DiagnosticUtility.TraceHandledException(rpc.Error, TraceEventType.Error); 685if (rpc.Transaction.IsCompleted || (rpc.Error != null)) 689if (rpc.Error != null) 737if (rpc.Error == null) //we don't want to mask the initial error 740DiagnosticUtility.TraceHandledException(rpc.Error, TraceEventType.Error);