Base:
method
ToString
System.Object.ToString()
Implemented interface member:
method
ToString
System.Runtime.InteropServices._Exception.ToString()
14 overrides of ToString
mscorlib (8)
system\AggregateException.cs (1)
442public override string ToString()
system\badimageformatexception.cs (1)
84public override String ToString()
system\io\fileloadexception.cs (1)
98public override String ToString()
system\io\filenotfoundexception.cs (1)
85public override String ToString()
system\reflection\mdimport.cs (1)
754public override string ToString()
system\runtime\interopservices\externalexception.cs (1)
58public override String ToString() {
system\security\hostprotectionexception.cs (1)
112public override String ToString()
system\security\securityexception.cs (1)
630public override String ToString()
System.Data.SqlXml (1)
System\Xml\Xsl\XslException.cs (1)
65public override string ToString() {
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QueryException.cs (2)
39public override string ToString() 96public override string ToString()
System\ServiceModel\FaultException.cs (1)
453public override string ToString()
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
433public override string ToString() {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
3866public override string ToString() {
393 references to ToString
mscorlib (14)
system\AggregateException.cs (2)
444string text = base.ToString(); 451text, Environment.NewLine, i, m_innerExceptions[i].ToString(), "<---", Environment.NewLine);
system\badimageformatexception.cs (1)
92s = s + " ---> " + InnerException.ToString();
system\diagnostics\contracts\contractsbcl.cs (1)
524exceptionAsString = innerException.ToString();
system\io\fileloadexception.cs (1)
106s = s + " ---> " + InnerException.ToString();
system\io\filenotfoundexception.cs (1)
93s = s + " ---> " + InnerException.ToString();
system\runtime\interopservices\comexception.cs (1)
80s = s + " ---> " + _innerException.ToString();
system\runtime\interopservices\externalexception.cs (1)
71s = s + " ---> " + _innerException.ToString();
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
1378SerTrace.Log( this, "FastBindTypeType ",e.ToString()); 1399SerTrace.Log( this, "FastBindTypeType ",e.ToString());
system\runtime\serialization\formatterservices.cs (1)
472BCLDebug.Trace("SER", "[LoadAssemblyFromString]", e.ToString());
system\security\hostprotectionexception.cs (1)
116sb.Append(base.ToString());
system\security\securityexception.cs (1)
573sb.Append(base.ToString());
system\threading\Tasks\AsyncCausalityTracer.cs (1)
285Debugger.Log(0, "AsyncCausalityTracer", ex.ToString());
PresentationFramework (6)
src\Framework\MS\Internal\Controls\ActiveXSite.cs (2)
243Debug.Fail(t.ToString()); 425Debug.Fail(t.ToString());
src\Framework\System\Windows\Documents\Speller.cs (2)
414System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Unloading dictionary failed. Original Uri:{0}, file Uri:{1}, exception:{2}", uri.ToString(), info.PathUri.ToString(), e.ToString())); 1715System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Failure to delete temporary file with custom dictionary data. file Uri:{0},exception:{1}", tempLocationUri.ToString(), e.ToString()));
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
391_browserCallbackServices.ProcessUnhandledException(ex.ToString()); 1230Debug.Fail(ex.ToString());
SMDiagnostics (3)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (2)
105e.ToString()); 115TraceFailFast(exception == null ? null : exception.ToString());
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
81e.ToString());
SMSvcHost (10)
System\ServiceModel\Activation\Diagnostics\ListenerPerfCounters.cs (1)
272exception.ToString());
System\ServiceModel\Activation\ListenerAdapter.cs (3)
511exception.ToString()); 553exception == null ? string.Empty : exception.ToString()); 914exception.ToString());
System\ServiceModel\Activation\MsmqActivation.cs (1)
73exception.ToString());
System\ServiceModel\Activation\NamedPipeActivation.cs (1)
67exception.ToString());
System\ServiceModel\Activation\SMSvcHost.cs (1)
128exception == null ? string.Empty : exception.ToString());
System\ServiceModel\Activation\TcpActivation.cs (1)
35exception.ToString());
System\ServiceModel\Activation\TcpPortSharing.cs (1)
98exception.ToString());
System\ServiceModel\Activation\WorkerProcess.cs (1)
122exception.ToString());
System (42)
compmod\microsoft\win32\SystemEvents.cs (2)
1484Debug.Assert(false, "Exception occurred while freeing memory: " + e.ToString()); 1600Debug.Fail("Unexpected thread exception in system events window thread proc", e.ToString());
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
259Debug.Fail(e.ToString());
compmod\system\componentmodel\MemberDescriptor.cs (2)
76Debug.Fail(t.ToString()); 392Debug.Fail(name + ">>" + e.ToString());
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (1)
118Debug.Fail(t.ToString());
compmod\system\diagnostics\DefaultTraceListener.cs (1)
145WriteLine(SR.GetString(SR.ExceptionOccurred, LogFileName, e.ToString()), false);
net\System\Net\_AuthenticationManager2.cs (1)
362+ exception.ToString());
net\System\Net\_AuthenticationManagerDefault.cs (1)
134GlobalLog.Print("AuthenticationManager::constructor failed to initialize: " + exception.ToString());
net\System\Net\_Connection.cs (4)
961GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::CompleteStartRequest(): exception: " + exception.ToString()); 966GlobalLog.Assert(exception.ToString()); 1124GlobalLog.Print("CompleteConnectionWrapper() Request#" + ValidationHelper.HashString(request) + " Connection is in error: " + stateException.ToString()); 2993GlobalLog.Print(theException.ToString());
net\System\Net\_ConnectStream.cs (5)
903GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::InternalWrite() throwing:" + m_ErrorException.ToString()); 1047GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::InternalWrite() throwing:" + exception.ToString()); 1150GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::InternalWrite() throwing:" + exception.ToString()); 2278GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::WriteHeaders Exception: " + e.ToString()); 2948GlobalLog.Print("exception" + exception.ToString());
net\System\Net\_ListenerAsyncResult.cs (1)
102if (Logging.On) Logging.PrintError(Logging.HttpListener, ValidationHelper.HashString(asyncResult), "IOCompleted", exception.ToString());
net\System\Net\_SSPISessionCache.cs (1)
52GlobalLog.Assert("SSPIHandlCache", "Attempted to throw: " + e.ToString());
net\System\Net\_TimerThread.cs (1)
734if (Logging.On) Logging.PrintError(Logging.Web, "TimerThread#" + Thread.CurrentThread.ManagedThreadId.ToString(NumberFormatInfo.InvariantInfo) + "::ThreadProc() - Exception:" + exception.ToString());
net\System\Net\Cache\_CacheStreams.cs (6)
478GlobalLog.Print("ShadowReadStream::Read() Got Exception, disabling the shadow stream, stack trace = " + e.ToString()); 491GlobalLog.Print("ShadowReadStream::Read() Got (ignoring) Exception, on shadow stream.Close, stack trace = " + ee.ToString()); 578GlobalLog.Print("ShadowReadStream::ReadComplete() Rethrowing Exception (end), userResult.IsCompleted, stack trace = " + e.ToString()); 593GlobalLog.Print("ShadowReadStream::ReadComplete() Got (ignoring) Exception, on shadow stream.Close, stack trace = " + ee.ToString()); 637GlobalLog.Print("ShadowReadStream::ReadComplete() Rethrowing Exception (begin), userResult.IsCompleted, stack trace = " + e.ToString()); 652GlobalLog.Print("ShadowReadStream::ReadComplete() Got (ignoring) Exception, on shadow stream.Close (after begin), stack trace = " + ee.ToString());
net\System\Net\Cache\_RequestCacheProtocol.cs (6)
146if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 230if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 269if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception_ignored, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), "stream.Close()", e.ToString())); 386if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 441if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString()))); 542if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_object_and_exception, "CacheProtocol#" + this.GetHashCode().ToString(NumberFormatInfo.InvariantInfo), (e is WebException? e.Message: e.ToString())));
net\System\Net\Cache\IERequestCache.cs (1)
331if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_exception, "WinInetCache.Retrieve()", exception.ToString()));
net\System\Net\HttpWebRequest.cs (1)
3843GlobalLog.Enter("HttpWebRequest#" + ValidationHelper.HashString(this) + "::SetResponse", E.ToString() + "/*** SETRESPONSE IN ERROR ***");
net\System\Net\HttpWebResponse.cs (1)
535GlobalLog.Assert("Exception on response Uri parsing.", e.ToString());
net\System\Net\mail\SmtpClient.cs (1)
818GlobalLog.Print("SmtpClient#" + ValidationHelper.HashString(this) + "::Complete Exception: " + exception.ToString());
net\System\Net\ServicePoint.cs (1)
1625GlobalLog.Print("IPHostInformation#" + ValidationHelper.HashString(this) + "::GetIPAddressInfoList() Dns.InternalResolveFast() failed with exception:\r\n" + exception.ToString());
net\System\Net\Sockets\Socket.cs (2)
7475GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::UnsetAsyncEventSelect() !!! (ignoring) Exception: " + e.ToString()); 7562GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::SetAsyncEventSelect() !!! (converting to ObjectDisposed) Exception :" + e.ToString());
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1216exception.ToString());
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
753Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: Caught exception notifying event handlers: " + e.ToString());
System.Activities (11)
System\Activities\Statements\MethodExecutor.cs (1)
137TD.InvokedMethodThrewException(this.invokingActivity.DisplayName, e.ToString());
System\Activities\Tracking\EtwTrackingParticipant.cs (6)
399faultRecord.Fault.ToString(), faultRecord.IsFaultSource, 411faultRecord.Fault.ToString(), faultRecord.IsFaultSource, 575unhandled.UnhandledException == null ? string.Empty : unhandled.UnhandledException.ToString(), 582unhandled.UnhandledException == null ? string.Empty : unhandled.UnhandledException.ToString(), 601unhandled.UnhandledException == null ? string.Empty : unhandled.UnhandledException.ToString(), 609unhandled.UnhandledException == null ? string.Empty : unhandled.UnhandledException.ToString(),
System\Activities\Validation\ActivityValidationServices.cs (1)
395ValidationError constraintExceptionValidationError = new ValidationError(SR.InternalConstraintException(constraint.DisplayName, toValidate.GetType().FullName, toValidate.DisplayName, e.ToString()), false)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
358throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CompiledExpressionsCacheMetadataException(dynamicActivity.Name, e.ToString())));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
240throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CompiledExpressionsCacheMetadataException(this.settings.Activity.GetType().AssemblyQualifiedName, e.ToString()))); 280throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CompiledExpressionsActivityException(e.GetType().FullName, this.settings.Activity.GetType().AssemblyQualifiedName, e.ToString())));
System.Activities.Presentation (24)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (1)
91return (e.InnerException != null) ? e.InnerException.ToString() : e.Message;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
385Debug.WriteLine(e.Exception.ToString());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
174Debug.WriteLine(e.ToString());
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
82Trace.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
815ErrorReporting.ShowErrorMessage(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
669Trace.WriteLine(exception.ToString()); 706Trace.WriteLine(exception.ToString());
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
98Trace.WriteLine(e.ToString());
System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
31Trace.WriteLine(err.ToString()); 53Trace.WriteLine(err.ToString()); 74Trace.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
435this.ValidationErrors[rootActivity].ErrorMessages.Add(exception.ToString()); 441validationErrorInfo = new ValidationErrorInfo(exception.ToString());
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1395System.Diagnostics.Debug.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
911container.Content = err.ToString(); 913System.Diagnostics.Debug.WriteLine(err.ToString());
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1646System.Diagnostics.Debug.WriteLine(e.ToString()); 1677System.Diagnostics.Debug.WriteLine(e.ToString());
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
1173this.Context.Items.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() }); 1178MessageBox.Show(err.ToString(), err.Message);
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
80errorString = e.ToString();
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
430this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() }); 488this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
127this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
System.AddIn (6)
System\Addin\Hosting\AddInControllerImpl.cs (6)
248Log(e.ToString()); 252Log(re.ToString()); 256Log(se.ToString()); 269Log(e.ToString()); 273Log(re.ToString()); 277Log(se.ToString());
System.Data (29)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (1)
91return (e.InnerException != null) ? e.InnerException.ToString() : e.Message;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
385Debug.WriteLine(e.Exception.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
174Debug.WriteLine(e.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
82Trace.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
815ErrorReporting.ShowErrorMessage(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
669Trace.WriteLine(exception.ToString()); 706Trace.WriteLine(exception.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
31Trace.WriteLine(err.ToString()); 53Trace.WriteLine(err.ToString()); 74Trace.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
435this.ValidationErrors[rootActivity].ErrorMessages.Add(exception.ToString()); 441validationErrorInfo = new ValidationErrorInfo(exception.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1395System.Diagnostics.Debug.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
911container.Content = err.ToString(); 913System.Diagnostics.Debug.WriteLine(err.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1646System.Diagnostics.Debug.WriteLine(e.ToString()); 1677System.Diagnostics.Debug.WriteLine(e.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
1173this.Context.Items.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() }); 1178MessageBox.Show(err.ToString(), err.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
80errorString = e.ToString();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
430this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() }); 488this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
127this.Context.Items.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
104Bid.Trace(trace, e.ToString()); // will include callstack if permission is available
fx\src\data\System\Data\Common\System.Data_BID.cs (1)
106NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2.ToString());
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
168Bid.Trace("<prov.DbConnectionHelper.Abort|RES|INFO|CPOOL> %d#, Aborting operation due to asynchronous exception: %ls\n", ObjectID, e.ToString());
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
2523Debug.Fail("Unexpected exception during CleanUpstateObjectOnError (ignored)", cleanupEx.ToString()); 2537Debug.Fail("Unexpected exception during CleanUpstateObjectOnError (ignored)", cleanupEx.ToString());
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
7898Bid.Trace("<sc.TdsParser.FailureCleanup|ERR> Exception caught on ExecuteXXX: '%ls' \n", e.ToString());
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
4901this.buildBatchWriter.WriteLine(e.ToString());
System.Data.SqlXml (1)
System\Xml\Xsl\XslException.cs (1)
72result += " ---> " + InnerException.ToString() + Environment.NewLine + " " + CreateMessage(Res.Xml_EndOfInnerExceptionStack);
System.Drawing (23)
commonui\System\Drawing\Advanced\Font.cs (1)
600Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\FontFamily.cs (1)
292Debug.Fail("Exception thrown during Dispose: " + ex.ToString());
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
233Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (1)
80Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
117Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
80Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (1)
42Debug.Fail("Exception thrown during ReleaseHandle: " + ex.ToString());
commonui\System\Drawing\Advanced\StringFormat.cs (1)
197Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Brush.cs (1)
114Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Graphics.cs (1)
417Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString());
commonui\System\Drawing\Image.cs (5)
107Debug.Fail("failure: " + e.ToString()); 110Debug.Fail("failure: " + e.ToString()); 113Debug.Fail("failure: " + e.ToString()); 116Debug.Fail("failure: " + e.ToString()); 383Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Pen.cs (1)
223Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\Region.cs (1)
229Debug.Fail( "Exception thrown during Dispose: " + ex.ToString() );
commonui\System\Drawing\ToolboxBitmapAttribute.cs (3)
346Debug.Fail("Failed to load toolbox image '" + imageFile + "':\r\n" + e.ToString()); 457Debug.Fail("Failed to load toolbox image for null type:\r\n" + e.ToString()); 460Debug.Fail("Failed to load toolbox image for '" + t.FullName + "':\r\n" + e.ToString());
misc\DbgUtil.cs (2)
256message = ex.ToString(); 366trace += ex.ToString();
misc\GDI\WindowsGraphics.cs (1)
294Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString());
System.IdentityModel.Selectors (1)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (1)
622ie.ToString());
System.Net (2)
net\PeerToPeer\Collaboration\PeerCollaboration.cs (2)
122Logging.P2PTraceSource.TraceEvent(TraceEventType.Error, 0, "LocalEndPointName threw exception {0}", e.ToString()); 285Logging.P2PTraceSource.TraceEvent(TraceEventType.Error, 0, "GetApplicationLaunchInfo threw error {0}.", e.ToString());
System.Runtime.Remoting (5)
channels\http\httpremotinghandler.cs (1)
285return e.ToString();
channels\http\httpstreams.cs (1)
550return e.ToString();
channels\ipc\ipcmanager.cs (1)
223WriteCountedString(e.ToString(), headerStream);
channels\tcp\tcpstreams.cs (1)
374return e.ToString();
metadata\metadata.cs (1)
224Console.WriteLine(ex.ToString());
System.ServiceModel (32)
System\ServiceModel\Administration\ServiceInfo.cs (1)
157metadataStrings.Add(e.ToString());
System\ServiceModel\Administration\WbemProvider.cs (6)
249TraceUtility.CreateSourceString(this), e.ToString()); 370TraceUtility.CreateSourceString(this), e.ToString()); 432e.ToString()); 494e.ToString()); 555e.ToString()); 647e.ToString());
System\ServiceModel\Channels\ChannelDemuxer.cs (6)
498throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationObjectAbortedException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingInnerListenerOpenException.ToString()))); 502throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationObjectFaultedException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingInnerListenerOpenException.ToString()))); 506throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingInnerListenerOpenException.ToString()))); 2030throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationObjectAbortedException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingExceptionOnOpen.ToString()))); 2034throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationObjectFaultedException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingExceptionOnOpen.ToString()))); 2038throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new CommunicationException(SR.GetString(SR.PreviousChannelDemuxerOpenFailed, this.pendingExceptionOnOpen.ToString())));
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
112e.ToString());
System\ServiceModel\ComIntegration\ComPlusServiceHost.cs (2)
62e.ToString()); 85e.ToString());
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (2)
183e.ToString()); 243e.ToString());
System\ServiceModel\ComIntegration\DllHostInitializer.cs (1)
179e.ToString());
System\ServiceModel\ComIntegration\TypeCacheManager.cs (1)
222e.ToString());
System\ServiceModel\Diagnostics\MessageLogger.cs (2)
484e.ToString()); 788e.ToString());
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (1)
461writer.WriteElementString("Exception", exception.ToString());
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
271e.ToString());
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (5)
648xml.WriteElementString("Exception", e.ToString()); 699xml.WriteElementString("Exception", e.ToString()); 870xml.WriteElementString("Exception", this.e.ToString()); 1041xml.WriteElementString("Exception", base.XmlEncode(e.ToString())); 1225xml.WriteElementString("Exception", e.ToString());
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
197TD.ServiceException(null, error.ToString(), error.GetType().FullName);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
2725TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.AsyncCallbackThrewException, SR.GetString(SR.TraceCodeAsyncCallbackThrewException), e.ToString()); 2749TraceUtility.TraceEvent(TraceEventType.Warning, TraceCode.AsyncCallbackThrewException, SR.GetString(SR.TraceCodeAsyncCallbackThrewException), e.ToString());
System.ServiceModel.Activation (9)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (4)
701exception == null ? string.Empty : exception.ToString()); 809TD2.ServiceException(this.eventTraceActivity, activationException.ToString(), typeof(ServiceActivationException).FullName); 814TD.ServiceActivationException(activationException != null ? activationException.ToString() : string.Empty, activationException); 818TraceUtility.CreateSourceString(this), activationException.ToString());
System\ServiceModel\ServiceHostingEnvironment.cs (5)
74exception == null ? string.Empty : exception.ToString()); 194messageAsString, exception.ToString()); 234TraceUtility.CreateSourceString(hostingManager), exception.ToString()); 250TraceUtility.CreateSourceString(hostingManager), exception.ToString()); 254TD2.ServiceException(eventTraceActivity, exception.ToString(), typeof(ServiceActivationException).FullName);
System.ServiceModel.Internals (18)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
357xml.WriteElementString(DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())); 460traceString, exception.ToString());
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (4)
86exception.ToString()); 105exception.ToString()); 716TraceCore.UnhandledException(this, exception != null ? exception.ToString() : string.Empty, exception); 762new Tuple<string, string> (DiagnosticStrings.ExceptionStringTag, XmlEncode(exception.ToString())),
System\Runtime\ExceptionTrace.cs (12)
35TraceCore.HandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 41TraceCore.HandledExceptionWarning(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 212TraceCore.UnhandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 222TraceCore.HandledExceptionError(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 228TraceCore.HandledExceptionWarning(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 234TraceCore.HandledExceptionVerbose(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 240TraceCore.HandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 254TraceCore.ThrowingEtwException(this.diagnosticTrace, this.eventSourceName, exception != null ? exception.ToString() : string.Empty, exception); 260TraceCore.EtwUnhandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception); 266TraceCore.ThrowingEtwExceptionVerbose(this.diagnosticTrace, this.eventSourceName, exception != null ? exception.ToString() : string.Empty, exception); 287TraceCore.ThrowingException(this.diagnosticTrace, eventSource, exception != null ? exception.ToString() : string.Empty, exception); 368ex.ToString());
System.ServiceModel.WasHosting (1)
System\ServiceModel\WasHosting\BaseAppDomainProtocolHandler.cs (1)
103exception.ToString());
System.Transactions (2)
System\Transactions\Trace\DiagnosticTrace.cs (2)
488traceString.AppendLine(SR.GetString(SR.EventLogExceptionValue, exception.ToString())); 696xml.WriteElementString(DiagnosticStrings.ExceptionStringTag, DiagnosticTrace.XmlEncode(exception.ToString()));
System.Web (11)
Hosting\ProcessHost.cs (2)
816SR.GetString(SR.Failure_Shutdown_ProcessHost), e.ToString()} ); 1255return ex.ToString();
HttpRuntime.cs (1)
550Debug.Trace("AppDomainFactory", "HostingInit failed. " + e.ToString());
Management\regiisutil.cs (6)
77exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_Register_Assembly, webAssembly.FullName))).ToString()); 82exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_UnRegister_Assembly, webAssembly.FullName))).ToString()); 86exception = Marshal.StringToBSTR(e.ToString()); 105exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_Register_Assembly, webAssembly.FullName))).ToString()); 116exception = Marshal.StringToBSTR((new Exception(SR.GetString(SR.Unable_To_UnRegister_Assembly, webAssembly.FullName))).ToString()); 127exception = Marshal.StringToBSTR(e.ToString());
Management\WebEvents.cs (1)
105e.ToString());
Security\FileAuthorizationModule.cs (1)
276Debug.Trace("internal", e.ToString());
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
2091CurrentTraceInfo.AddTraceInfo(message, errorInfo != null ? errorInfo.ToString() : String.Empty);
System.Web.Mobile (13)
Mobile\ErrorHandlerModule.cs (1)
130context.Response.Write(e2.ToString());
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
256Debug.Fail(e.ToString());
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
494Debug.Fail(e.ToString());
UI\MobileControls\Design\MobileControlDesigner.cs (1)
295Debug.Fail(ex.ToString());
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
538Debug.Fail(ex.ToString());
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (1)
98Debug.Fail(e.ToString());
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
943Debug.Fail(ex.ToString()); 1203Debug.Fail(ex.ToString());
UI\MobileControls\Design\Util\FileReader.cs (1)
49+ uri.ToString() + ":\r\n" + e.ToString());
UI\MobileControls\Design\Util\MSHTMLHost.cs (3)
65Debug.WriteLine("Exception caught in MSHTMLHost::CreateTrident\n\t" + e.ToString()); 374Debug.Fail(e.ToString()); 394Debug.Fail(e.ToString());
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
90Debug.Fail(ex.ToString());
System.Web.Services (4)
System\Web\Services\Diagnostics\TraceUtility.cs (1)
194TraceEvent(eventType, Res.GetString(Res.TraceExceptionDetails, e.ToString()));
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
134if ( CompModSwitches.DynamicDiscoverySearcher.TraceVerbose ) Debug.WriteLine( "+++ DynamicVirtualDiscoSearcher.GetPhysicalDir(): dir=" + dir + " Exception=" + e.ToString() );
System\Web\Services\Protocols\ServerProtocol.cs (1)
126return e.ToString();
System\Web\Services\Protocols\WebServiceHandler.cs (1)
82if (CompModSwitches.Remote.TraceVerbose) Debug.WriteLine("Server Exception: " + e.ToString());
System.Windows.Forms (88)
misc\DbgUtil.cs (2)
256message = ex.ToString(); 366trace += ex.ToString();
misc\GDI\WindowsGraphics.cs (1)
294Debug.Fail("Exception thrown during disposing: \r\n" + ex.ToString());
winforms\Managed\System\WinForms\AxHost.cs (34)
1194Debug.Fail(t.ToString()); 1819Debug.Fail(t.ToString()); 1839Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception calling InPlaceDeactivate: "+ e.ToString()); 1944Debug.Fail(t.ToString()); 2132Debug.Fail(t.ToString()); 2250Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Could not create new OCX State: " + e.ToString()); 2551Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Failed to get the license key: " + t.ToString()); 2578Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Failed to create with license: " + t.ToString()); 2655Debug.Fail(t.ToString()); 2695Debug.Fail(t.ToString()); 3117Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistStreamInit.InitNew(). Is this good?" + e1.ToString()); 3134Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistStorage.InitNew(). Is this good?" + e2.ToString()); 3145Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistPropertyBag.InitNew(). Is this good?" + e1.ToString()); 3161Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistStream.DepersistFromIStream(). Is this good?" + e.ToString()); 3171Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistStreamInit.DepersistFromIStreamInit(). Is this good?" + e.ToString()); 3187Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistStorage.DepersistFromIStorage(). Is this good?" + e.ToString()); 3201Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Exception thrown trying to IPersistPropertyBag.DepersistFromIPropertyBag(). Is this good?" + e.ToString()); 3235Debug.Fail(t.ToString()); 3247Debug.Fail(t.ToString()); 3316Debug.Fail(t.ToString()); 3395Debug.Fail(t.ToString()); 3875return base.ToString(); 4233Debug.Fail(t.ToString()); 4287Debug.Fail(t.ToString()); 4404Debug.Fail(t.ToString()); 4475Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Failed to QuickActivate: " + t.ToString()); 4496Debug.Fail(t.ToString()); 4673Debug.Fail("Invalid cast in GetInPlaceActiveObject: " + e.ToString()); 6646Debug.Fail("failure: " + e.ToString()); 6660Debug.Fail("failure: " + e.ToString()); 6717Debug.Fail(t.ToString()); 6862Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Failed to serialize the property bag into ResX : " + e.ToString()); 6941Debug.Fail(t.ToString()); 7090Debug.Fail(t.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (4)
214Debug.Fail("Failed to marshal component attribute BSTR " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 221Debug.Fail("Failed to free BSTR array memory", ex.ToString()); 247Debug.Fail("Failed to marshal component attribute VARIANT " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 254Debug.Fail("Failed to free VARIANT array memory", ex.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
752Debug.Fail("Failed to create TypeConverter of type '" + attr.ConverterTypeName + "' from Attribute", ex.ToString()); 800Debug.Fail("Failed to create edtior of type '" + attr.EditorTypeName + "' from Attribute", ex.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
568Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "Hiding property " + pi.Name + " because value Type could not be resolved: " + ex.ToString());
winforms\Managed\System\WinForms\Control.cs (5)
15561Debug.Fail("Exception occurred during DoVerb(" + iVerb + ") " + e.ToString()); 16339Debug.Fail("Failed to massage ambient back color to a Color", e.ToString()); 16421Debug.Fail("Failed to massage ambient fore color to a Color", e.ToString()); 17381errorString = e.ToString(); 17403Debug.Fail("Unexpected failure reading property", ex.ToString());
winforms\Managed\System\WinForms\Cursor.cs (2)
584Debug.Fail(e.ToString()); 682Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
391Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
748Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\DataGridRow.cs (1)
224Debug.Fail("Failed to load bitmap: " + bitmapName, e.ToString());
winforms\Managed\System\WinForms\DataObject.cs (1)
1682Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
558Debug.Fail(e.ToString()); 559throw new TargetInvocationException(SR.GetString(SR.ExceptionCreatingCompEditorControl, e.ToString()), e.InnerException);
winforms\Managed\System\WinForms\Design\PropertyTab.cs (1)
50Debug.Fail("Failed to find bitmap '" + bmpName + "' for class " + GetType().FullName, ex.ToString());
winforms\Managed\System\WinForms\ListView.cs (2)
2872Debug.Fail("Exception occurred attempting to setup custom draw. Disabling custom draw for this control", e.ToString()); 5512Debug.Fail("Exception occurred attempting to setup header custom draw. Disabling custom draw for the column header", e.ToString());
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3168Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\PropertyGrid.cs (10)
280Debug.WriteLine(ex.ToString()); 1871Debug.Fail("Bad Tab. We're not going to show it. ", e.ToString()); 1935Debug.Fail("Bad tab. We're going to remove it.", e.ToString()); 2415Debug.Fail("Bad Tab. Disable for now.", e.ToString()); 2487Debug.Fail("Failed to add a large property grid toolstrip button, " + ex.ToString()); 4011Debug.Fail("Bad Tab. It's going away.", e.ToString()); 4414Debug.Fail("Failed to load Alpha bitmap", e.ToString()); 4424Debug.Fail("Failed to load category bitmap", e.ToString()); 4472Debug.Fail(ex.ToString()); 4491Debug.Fail(e.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (3)
1161Debug.Fail(e.ToString()); 1636Debug.Fail("Bad property '" + peParent.PropertyLabel + "." + pd.Name + "': " + w.ToString()); 1770Debug.Fail("Bad Type Converter! " + t.GetType().Name + ", " + t.Message + "," + converter.ToString(), t.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
77e.ToString()), e);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
1250if (message == null || message.Length == 0) message = except.ToString();
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
1120Debug.Fail(e.ToString()); 1302Debug.Fail(ex.ToString()); 1487Debug.Fail(ex.ToString()); 1959Debug.Fail(ex.ToString()); 2011Debug.Fail(e.ToString()); 7583Debug.Fail(ex.ToString()); 7607Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
185detailsTextBuilder.Append(t.ToString());
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1251Debug.Fail(ex.ToString());
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (3)
266Debug.Fail(t.ToString()); 402Debug.Fail(t.ToString()); 451Debug.Fail(t.ToString());
System.Workflow.ComponentModel (14)
AuthoringOM\ActivityExecutorDelegateInfo.cs (2)
341System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Subscription handler of Activity {0} threw {1}", activity.QualifiedName, e.ToString()); 343System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Subscription handler threw {0}", e.ToString());
AuthoringOM\ActivityExecutorOperation.cs (4)
92System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Execute of Activity {0} threw {1}", activity.QualifiedName, e.ToString()); 111System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Cancel of Activity {0} threw {1}", activity.QualifiedName, e.ToString()); 129System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Compensate of Activity {0} threw {1}", activity.QualifiedName, e.ToString()); 147System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 1, "Compensate of Activity {0} threw {1}", activity.QualifiedName, e.ToString());
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
961Debug.Assert(false, "One of the event listener threw an Exception. \n" + e.ToString());
AuthoringOM\Compiler\XomlCompilerHelpers.cs (6)
172results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 174results.Errors.Add(CreateXomlCompilerError(new ValidationError(tie.InnerException.InnerException.ToString(), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 176results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, tie.InnerException.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 181results.Errors.Add(CreateXomlCompilerError(new ValidationError(SR.GetString(SR.Error_CustomActivityCantCreate, type.FullName, e.ToString()), ErrorNumbers.Error_CustomActivityCantCreate), parameters)); 684ValidationError error = new ValidationError(SR.GetString(SR.Error_ValidatorThrewException, e.GetType().FullName, validator.GetType().FullName, activity.Name, e.ToString()), ErrorNumbers.Error_ValidatorThrewException); 689ValidationError error = new ValidationError(SR.GetString(SR.Error_ValidatorThrewException, e.GetType().FullName, validator.GetType().FullName, activity.Name, e.ToString()), ErrorNumbers.Error_ValidatorThrewException);
AuthoringOM\Design\DesignerHelpers.cs (1)
1447message = e.ToString();
System.Workflow.Runtime (22)
DebugEngine\ProgramPublisher.cs (4)
58Debug.WriteLine("WDE: ProgramPublisher.Publish() exception: " + e.ToString()); 78Debug.WriteLine("WDE: ProgramPublisher.PublisherThreadFunc() exception: " + e.ToString()); 101Debug.WriteLine("WDE: ProgramPublisher.Unpublish() exception: " + e.ToString()); 115Debug.WriteLine("WDE: ProgramPublisher.UnpublishThreadFunc(): catch exception " + e.ToString());
Hosting\DefaultWorkflowTransactionService.cs (1)
110WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "DefaultWorkflowCommitWorkBatchService caught exception from commitWorkBatchCallback: " + e.ToString());
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
222WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SharedConnectionWorkflowCommitWorkBatchService caught exception from commitWorkBatchCallback: " + e.ToString());
Hosting\SqlWorkflowPersistenceService.cs (6)
124WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService caught exception from OpenConnection: " + e.ToString()); 275WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService.RetrieveNonblockingInstanceStateIds caught exception from ExecuteReader: " + e.ToString()); 342WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService.TryRetrieveANonblockingInstanceStateId caught exception from ExecuteNonQuery: " + e.ToString()); 389WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService.RetrieveExpiredTimerIds caught exception from ExecuteReader: " + e.ToString()); 449WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService.RetrieveInstanceState caught exception: " + e.ToString()); 506WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService.RetrieveCompletedScope caught exception: " + e.ToString());
System\Activities\Statements\InteropExecutor.cs (2)
497this.lastExceptionThrown.ToString())); 522this.outstandingException.ToString()));
Tracking\SqlTrackingService.cs (7)
469WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlTrackingService.ExecuteRetried caught exception: " + e.ToString()); 499WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlTrackingService.ExecuteReaderRetried caught exception from ExecuteReader: " + e.ToString()); 530WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlTrackingService.ExecuteNonQueryRetried caught exception from ExecuteNonQuery: " + e.ToString()); 563WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "SqlTrackingService.ExecuteNonQueryWithTxRetried caught exception from ExecuteNonQuery: " + e.ToString()); 1148WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, string.Format(System.Globalization.CultureInfo.InvariantCulture, "Error partitioning instance {0}: {1}", _parameters.InstanceId, e.ToString())); 2301SerializeDataItem(e.ToString(), out data, out nonSerializable); 2309SerializeDataItem(e.ToString(), out data, out nonSerializable);
WorkflowRuntime.cs (1)
809WorkflowTrace.Host.TraceEvent(TraceEventType.Critical, 0, "WorkflowRuntime:ServicesExceptionNotHandled event raised for instance Id {0} {1}", instanceId, exception.ToString());