Implemented interface member:
property
Message
System.Runtime.InteropServices._Exception.Message
20 overrides of Message
mscorlib (7)
system\argumentexception.cs (1)
70public override String Message
system\badimageformatexception.cs (1)
60public override String Message
system\io\fileloadexception.cs (1)
65public override String Message
system\io\filenotfoundexception.cs (1)
61public override String Message
system\missingmemberexception.cs (1)
50public override String Message
system\objectdisposedexception.cs (1)
43public override String Message {
system\typeloadexception.cs (1)
47public override String Message
PresentationFramework (1)
src\Framework\MS\Internal\PtsHost\Pts.cs (1)
288public override string Message
System (2)
net\System\Net\SocketException.cs (1)
77public override string Message {
sys\system\configuration\ConfigurationException.cs (1)
89public override string Message {
System.Core (1)
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
71public override string Message {
System.Messaging (1)
System\Messaging\MessageQueueException.cs (1)
65public override string Message
System.ServiceModel (2)
System\ServiceModel\Description\WsdlImporter.cs (1)
1972public override string Message
System\ServiceModel\FaultException.cs (1)
149public override string Message
System.Web (2)
HttpException.cs (1)
371public override string Message {
UI\ViewStateException.cs (1)
26public override string Message { get { return _message; } }
System.Xml (4)
System\Xml\Schema\XmlSchemaException.cs (1)
195public override string Message {
System\Xml\XmlException.cs (1)
285public override string Message {
System\Xml\XPath\XPathException.cs (1)
105public override string Message {
System\Xml\Xslt\XsltException.cs (1)
103public override string Message {
1057 references to Message
ComSvcConfig (13)
ComAdminWrapper.cs (2)
172ToolConsole.WriteWarning(SR.GetString(SR.FailedToFetchApplicationInformationFromCatalog, appidOrName, ex.ErrorCode, ex.Message)); 233ToolConsole.WriteWarning(SR.GetString(SR.CouldnotGetPartitionForApplication, appId, e.ErrorCode, e.Message));
ComplusEndpointConfigContainer.cs (2)
104ToolConsole.WriteWarning(SR.GetString(SR.FailedToAbortTransactionWithError, ex.Message)); 467ToolConsole.WriteWarning(SR.GetString(SR.FailedToLoadConfigForApplicationIgnoring, appInfo.Name, ex.Message));
ComplusTypeValidator.cs (4)
106string exceptionMessage = SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message); 183ToolConsole.WriteWarning(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message)); 233ToolConsole.WriteError(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message), ""); 235ToolConsole.WriteWarning(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message));
SvcFileManager.cs (1)
253ToolConsole.WriteWarning(SR.GetString(SR.SvcFileParsingFailedWithError, fileName, e.Message));
ToolConsole.cs (1)
58WriteError(e.Message, prefix);
WasAdminWrapper.cs (3)
95ex.ErrorCode, ex.Message)); 137webServer, ex.ErrorCode, ex.Message)); 182webServer, webDirectory, ex.ErrorCode, ex.Message));
Microsoft.Activities.Build (5)
Microsoft\Activities\Build\Debugger\DebugBuildExtension.cs (1)
97e.Message));
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (2)
112LogError(SR.ExpressionBuildExtensionConstructorFailed(type.FullName, ctorException != null ? ctorException.Message : string.Empty)); 181LogError(ex.Message);
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
92string message = SR.ValidationBuildExtensionConstructorFailed(type.FullName, ex != null ? ex.Message : string.Empty); 146ValidationError error = new ValidationError(SR.ValidationBuildExtensionExceptionPrefix(typeof(ValidationBuildExtension).Name, activity.DisplayName, e.Message));
mscorlib (27)
system\AggregateException.cs (2)
378throw new AggregateException(Message, unhandledExceptions); 435return new AggregateException(Message, flattenedExceptions);
system\argumentexception.cs (1)
73String s = base.Message;
system\delegateserializationholder.cs (1)
255throw new SerializationException(e.Message, e);
system\diagnostics\contracts\contractsbcl.cs (1)
223public string Failure { get { return this.Message; } }
system\diagnostics\eventing\eventsource.cs (5)
1542ReportOutOfBandMessage("ERROR: Exception during construction of EventSource " + Name + ": " + e.Message, true); 2205+ e.Message, false); 2458ReportOutOfBandMessage(errorPrefix + ": " + innerEx.GetType() + ":" + innerEx.Message, true); 2841ReportOutOfBandMessage("ERROR: Exception in Command Processing for EventSource " + Name + ": " + e.Message, true); 3572msg = "Unexpected error: " + exception.Message;
system\exception.cs (1)
439String message = (needMessage ? Message : null);
system\missingmemberexception.cs (1)
55return base.Message;
system\objectdisposedexception.cs (2)
47return base.Message; 50return base.Message + Environment.NewLine + objectDisposed;
system\runtime\interopservices\comexception.cs (1)
68String message = Message;
system\runtime\interopservices\externalexception.cs (1)
59String message = Message;
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (1)
391Exception e = new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueArrayCoersion", this.Type, typeof(T).MakeArrayType().Name, i, elementCastException.Message), elementCastException);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (2)
1075string message = innerException.Message; 1175if (RoOriginateLanguageException(Marshal.GetHRForException_WinRT(e), e.Message, exceptionIErrorInfo))
system\runtime\remoting\remotingsurrogateselector.cs (2)
337if (ex.Message.StartsWith("MustUnderstand", StringComparison.Ordinal)) 343sb.Append(ex.Message);
system\runtime\remoting\stackbuildersink.cs (1)
180e.Message + e.StackTrace + "\n" );
system\security\cryptography\hmac.cs (1)
199throw new InvalidOperationException(e.Message, e);
system\security\policy\policylevel.cs (2)
836if (!String.IsNullOrEmpty(ex.Message)) { 837message = ex.Message;
system\security\policymanager.cs (2)
318string extendedInformation = extendedError != null ? extendedError.Message : String.Empty; 327throw new PolicyException(Environment.GetResourceString("Policy_UnableToSave", level.Label, e.Message), e);
PresentationBuildTasks (16)
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
125errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
110errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (1)
206errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
153errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
224string errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
119errorId = Log.ExtractMessageCode(e.Message, out message);
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (4)
343string message = e.Message; 348if (e.Message.IndexOf(eInner.Message, StringComparison.Ordinal) == -1) 351message += eInner.Message;
Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
100_xamlTypeMapper.ThrowExceptionWithLine(e.Message, e.InnerException);
Framework\System\Windows\Markup\XAMLParseException.cs (3)
443if (innerException != null && innerException.Message != null) 446if (innerException.Message != String.Empty) 451sb.Append(innerException.Message);
Framework\System\Windows\Markup\XamlParser.cs (1)
240newMessage = e.Message + " " + SR.Get(SRID.ParserLineAndOffset,
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
439RethrowAsParseException(e.Message, LineNumber, LinePosition, e);
PresentationCore (3)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
216Fail(x.Message, x); 914x.Message),
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
463new object[] { caughtException.Message, caughtException }
PresentationFramework (24)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (4)
85string msg = e.Message; 136string excpMsg = e.Message; 216errorMessage = e.Message; 241errorMessage = SR.Get(SRID.UnknownErrorText) + "\n\n" + e.Message;
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (4)
440throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS); 444throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT); 581throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS); 585throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
src\Framework\MS\Internal\PtsHost\Pts.cs (2)
109string message = (innerException == null) ? String.Empty : innerException.Message; 290get { return InnerException.Message; }
src\Framework\MS\Internal\TraceData.cs (1)
309return Format("{0} ({1})", ex.GetType().Name, AvTrace.AntiFormat(ex.Message));
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (1)
110ex.Message),
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1869throw new NullReferenceException(nre.Message, SavedException);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2220validationError = new ValidationError(exceptionValidationRule, this, ex.Message, ex);
src\Framework\System\Windows\Data\BindingGroup.cs (3)
1005AddValidationError(new ValidationError(rule, this, vue.Message, vue)); 1240AddValidationError(new ValidationError(rule, this, vue.Message, vue)); 1276ValidationError error = new ValidationError(ExceptionValidationRule.Instance, this, ex.Message, ex);
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
489throw new ArgumentException(member, new InvalidCastException(comException.Message, hr.Code));
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (1)
100_xamlTypeMapper.ThrowExceptionWithLine(e.Message, e.InnerException);
src\Framework\System\Windows\Markup\XamlParseException.cs (3)
443if (innerException != null && innerException.Message != null) 446if (innerException.Message != String.Empty) 451sb.Append(innerException.Message);
src\Framework\System\Windows\Markup\XamlReader.cs (2)
444return new XamlParseException(e.Message, lineInfo.LineNumber, lineInfo.LinePosition, baseUri, baseException); 448return new XamlParseException(e.Message, baseException);
SMDiagnostics (1)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
86stackTrace = exception.Message;
SMSvcHost (2)
System\ServiceModel\Activation\ListenerAdapter.cs (1)
497Debug.Print("ListenerAdapter[" + ProtocolName + "]::RegisterBindings() CreateUrlFromBinding(binding: " + binding + " path: " + path + ") failed with UriFormatException: " + exception.Message);
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (1)
146Exception exception = new ProtocolException(inner.Message, inner);
System (73)
compmod\system\componentmodel\LicenseManager.cs (1)
412throw new COMException(lexp.Message, CLASS_E_NOTLICENSED);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (1)
959string message = t.Message;
net\System\Net\_AuthenticationState.cs (4)
197GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::PreAuthIfNeeded() PreAuthenticate() returned exception:" + exception.Message); 271GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::PreAuthIfNeeded() PreAuthenticate() returned exception:" + exception.Message); 369GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::Update() " + myModule.ToString() + ".Update() caught exception:" + exception.Message); 420GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::ClearSession() " + myModule.ToString() + ".Update() caught exception:" + exception.Message);
net\System\Net\_ConnectStream.cs (4)
2454GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::CloseInternal() exceptionOnWrite:" + exception.Message); 2466GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::ResumeClose_Part2_Wrapper() ignoring exceptionOnWrite:" + exception.Message); 2681GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::CloseInternal() exceptionOnWrite:" + exceptionOnWrite.Message); 2720GlobalLog.Print("ConnectStream#" + ValidationHelper.HashString(this) + "::CloseInternal() calling CallDone() on exceptionOnWrite:" + exceptionOnWrite.Message);
net\System\Net\_DigestClient.cs (3)
758if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 761if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message); 766if (Logging.On) Logging.PrintWarning(Logging.Web, typeof(HttpDigest), "ReadSuppressExtendedProtectionRegistryValue", e.Message);
net\System\Net\_LazyAsyncResult.cs (2)
333(result is Exception? ((Exception)result).Message: result == null? "<null>": result.ToString()) + 523(m_Result is Exception? ((Exception)m_Result).Message: m_Result == null? "<null>": m_Result.ToString()));
net\System\Net\_StreamFramer.cs (1)
228e = new System.IO.IOException(SR.GetString(SR.net_io_readfailure, e.Message), e);
net\System\Net\_WebProxyDataBuilder.cs (1)
99if (Logging.On) Logging.PrintError(Logging.Web, e.Message);
net\System\Net\Cache\_RequestCacheProtocol.cs (5)
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()))); 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 (13)
132if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_cannot_remove, "WinInetCache.Remove()", key, win32Exception.Message)); 133throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception); 315if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_lookup_failed, "WinInetCache.Retrieve()", new Win32Exception((int)entry.Error).Message)); 320throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception); 465Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_create_failed, new Win32Exception((int)entry.Error).Message)); 471throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception); 589Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetCache.Update()", entry.Key, new Win32Exception((int)entry.Error).Message)); 595throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception); 1023if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_delete_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1057if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_commit_failed, "WinInetWriteStream.Close()", m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1074throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception); 1091if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetWriteStream.Close(), Key = " + m_Entry.Key, new Win32Exception((int)m_Entry.Error).Message)); 1095throw new IOException(SR.GetString(SR.net_cache_retrieve_failure, win32Exception.Message), win32Exception);
net\System\Net\connectionpool.cs (1)
413GlobalLog.Print("Pool Exception: " + e.Message);
net\System\Net\filewebrequest.cs (2)
442Exception ex = new WebException(e.Message, e); 479Exception ex = new WebException(e.Message, e);
net\System\Net\filewebresponse.cs (1)
62Exception ex = new WebException(e.Message, e, WebExceptionStatus.ConnectFailure, null);
net\System\Net\FtpWebRequest.cs (4)
611webException = new WebException(webException.Message, 838throw new WebException(webException.Message, 1294m_Exception = new WebException(exception.Message, null, ((WebException)exception).Status, m_FtpWebResponse); 1306m_Exception = new WebException(exception.Message, exception);
net\System\Net\HttpListenerException.cs (4)
19GlobalLog.Print("HttpListenerException::.ctor() " + NativeErrorCode.ToString() + ":" + Message); 24GlobalLog.Print("HttpListenerException::.ctor(int) " + NativeErrorCode.ToString() + ":" + Message); 29GlobalLog.Print("HttpListenerException::.ctor(int) " + NativeErrorCode.ToString() + ":" + Message); 35GlobalLog.Print("HttpListenerException::.ctor(serialized) " + NativeErrorCode.ToString() + ":" + Message);
net\System\Net\HttpWebRequest.cs (2)
3138if (Logging.On) Logging.Enter(Logging.Web, this, "Abort", (exception == null? "" : exception.Message)); 3905E = new WebException(E.Message, E);
net\System\Net\Internal.cs (4)
770if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message)); 775if (Logging.On) Logging.PrintWarning(Logging.Web, SR.GetString(SR.net_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message)); 869return exception.Message; 871return exception.Message + " (" + ExceptionMessage(exception.InnerException) + ")";
net\System\Net\Logging.cs (1)
469string infoLine = SR.GetString(SR.net_log_exception, GetObjectLogHash(obj), method, e.Message);
net\System\Net\ServicePoint.cs (1)
1348Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_unexpected_exception, ex.Message));
net\System\Net\SocketException.cs (2)
81return base.Message; 83return base.Message + " " + m_EndPoint.ToString();
net\System\Net\Sockets\NetworkStream.cs (12)
525throw new IOException(SR.GetString(SR.net_io_readfailure, exception.Message), exception); 602throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 766throw new IOException(SR.GetString(SR.net_io_readfailure, exception.Message), exception); 811throw new IOException(SR.GetString(SR.net_io_readfailure, exception.Message), exception); 870throw new IOException(SR.GetString(SR.net_io_readfailure, exception.Message), exception); 954throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1005throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1054throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1099throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1155throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1209throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception); 1244throw new IOException(SR.GetString(SR.net_io_writefailure, exception.Message), exception);
net\System\Net\Sockets\Socket.cs (2)
3063GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::ConnectCallback() caught exception:" + exception.Message + ", CleanedUp:" + CleanedUp); 5263GlobalLog.Print("Socket#" + ValidationHelper.HashString(this) + "::AcceptCallback() caught exception:" + exception.Message + " CleanedUp:" + CleanedUp);
sys\system\configuration\ConfigurationException.cs (1)
111return base.Message;
sys\system\configuration\SettingsPropertyValue.cs (1)
153throw new ArgumentException(SR.GetString(SR.Could_not_create_from_default_value, Property.Name, e.Message));
System.Activities (21)
Microsoft\VisualBasic\Activities\VisualBasicReference.cs (1)
177validationError = e.Message;
Microsoft\VisualBasic\Activities\VisualBasicValue.cs (2)
102metadata.AddValidationError(e.Message); 134throw FxTrace.Exception.AsError(new InvalidOperationException(SR.VBExpressionTamperedSinceLastCompiled(e.Message)));
System\Activities\Debugger\DebugManager.cs (1)
103Trace.WriteLine(SR.DebugInstrumentationFailed(ex.Message));
System\Activities\Expressions\BinaryExpressionHelper.cs (1)
56validationError = new ValidationError(e.Message);
System\Activities\Expressions\ExpressionServices.cs (5)
425return e.Message; 567return e.Message; 622return e.Message; 677return e.Message; 704return e.Message;
System\Activities\Expressions\MemberExpressionHelper.cs (1)
59validationError = new ValidationError(e.Message);
System\Activities\Expressions\MethodCallExpressionHelper.cs (2)
211metadata.AddValidationError(e.Message); 232metadata.AddValidationError(e.Message);
System\Activities\Expressions\UnaryExpressionHelper.cs (1)
47validationError = new ValidationError(e.Message);
System\Activities\Hosting\WorkflowInstance.cs (5)
338new ActivityBlockingUpdate(this.WorkflowDefinition, this.WorkflowDefinition.Id, updateException.Message) 627string message = reason.Message; 630message = SR.WorkflowAbortedReason(reason.Message, reason.InnerException.Message); 704this.controller.Track(new WorkflowInstanceTerminatedRecord(this.Id, this.WorkflowDefinition.DisplayName, this.executor.TerminationException.Message, this.DefinitionIdentity));
System\Activities\Runtime\ActivityInstanceMap.cs (1)
489throw FxTrace.Exception.AsError(new InstanceUpdateException(SR.NativeActivityUpdateInstanceThrewException(e.Message), e));
System\Activities\WorkflowIdentity.cs (1)
194throw FxTrace.Exception.AsError(new SerializationException(exception.Message, exception));
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
313reason = e.Message;
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
205err.Message,
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (2)
94throw new InvalidOperationException(e.Message + Environment.NewLine + Environment.NewLine + e.InnerException.GetType().ToString() + Environment.NewLine + e.InnerException.Message, e);
System.Activities.DurableInstancing (5)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (2)
161TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture), exception.Message); 295TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(null, CultureInfo.InvariantCulture), exception.Message);
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (2)
641TD.UnlockInstanceException(e.Message); 676TD.UnlockInstanceException(exception.Message);
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (1)
335exception.Message, exception);
System.Activities.Presentation (38)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (2)
178string details = ex.Message; 182details = ex.InnerException.Message;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
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\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
388ErrorReporting.ShowErrorMessage(e.Exception.Message);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
176ErrorReporting.ShowErrorMessage(e.Message);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
91ErrorReporting.ShowErrorMessage(ex.Message);
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
127Fx.Assert(false, err.Message);
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
212ErrorReporting.ShowErrorMessage(e.Message); 264ErrorReporting.ShowErrorMessage(e.Message); 585ErrorReporting.ShowErrorMessage(e.Message); 658Trace.WriteLine(e.Message);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
674exception = new ValidationException(err.Message, err); 680instance.ValidationErrors[this.Name] = exception.Message;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
446string details = ex.Message; 449details = ex.InnerException.Message;
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
103SetError(err.Message);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
1336errors.Add(err.Message); 1574ErrorReporting.ShowErrorMessage((err.InnerException ?? err).Message);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1057ErrorReporting.ShowErrorMessage(err.Message); 1148MessageBox.Show(err.Message, err.GetType().Name, MessageBoxButton.OK, MessageBoxImage.Error);
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
69this.editor.ShowErrorMessage(exception.Message);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (9)
546Trace.WriteLine(ex.Message); 578Debug.Fail("Unable to find editor with the following editor name: " + this.editorName, ex.Message); 930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 1173this.Context.Items.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() }); 1178MessageBox.Show(err.ToString(), err.Message); 1693MessageBox.Show(ex.Message); 1865errorMessage = compileErrorMessages.Message; 1870errorMessage = err.Message;
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.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1040ErrorReporting.ShowErrorMessage(e.Message);
System.AddIn (6)
System\Addin\Hosting\AddInStore.cs (3)
945warnings.Add(ex.Message); 1231warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName)); 1339warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName));
System\Addin\Hosting\InspectionWorker.cs (2)
239retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadThrew, e.GetType().Name, e.Message, _assemblyFileName)); 324retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, _assemblyFileName));
System\Addin\Pipeline\ContractBase.cs (1)
236Trace.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.FailedToUnloadAppDomain, AppDomain.CurrentDomain.FriendlyName, ex.Message));
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationException.cs (1)
35this._validationResult = new ValidationResult(this.Message);
System.Configuration (8)
System\Configuration\BaseConfigurationRecord.cs (1)
4272throw new ConfigurationErrorsException(SR.GetString(SR.Decryption_failed, protectionProvider.Name, e.Message), e, filename, lineNumber);
System\Configuration\ConfigurationElement.cs (1)
1754throw new ConfigurationErrorsException(SR.GetString(SR.Validator_element_not_valid, elem._elementTagName, ex.Message));
System\Configuration\ConfigurationProperty.cs (4)
249throw new ConfigurationErrorsException(SR.GetString(SR.Default_value_conversion_error_from_string, _name, ex.Message)); 386throw new ConfigurationErrorsException(SR.GetString(SR.Top_level_conversion_error_from_string, _name, ex.Message)); 404throw new ConfigurationErrorsException(SR.GetString(SR.Top_level_conversion_error_to_string, _name, ex.Message)); 415throw new ConfigurationErrorsException(SR.GetString(SR.Top_level_validation_error, _name, ex.Message),ex);
System\Configuration\ExceptionUtil.cs (1)
86SR.GetString(SR.Wrapped_exception_message, outerMessage, e.Message),
System\Configuration\MgmtConfigurationRecord.cs (1)
1823SR.GetString(SR.Encryption_failed, configSection.SectionInformation.SectionName, configSection.SectionInformation.ProtectionProvider.Name, e.Message),
System.Core (1)
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
78return win32Exception.Message;
System.Data (61)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (2)
178string details = ex.Message; 182details = ex.InnerException.Message;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
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\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
388ErrorReporting.ShowErrorMessage(e.Exception.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
176ErrorReporting.ShowErrorMessage(e.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
91ErrorReporting.ShowErrorMessage(ex.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
127Fx.Assert(false, err.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
212ErrorReporting.ShowErrorMessage(e.Message); 264ErrorReporting.ShowErrorMessage(e.Message); 585ErrorReporting.ShowErrorMessage(e.Message); 658Trace.WriteLine(e.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
674exception = new ValidationException(err.Message, err);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
446string details = ex.Message; 449details = ex.InnerException.Message;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
103SetError(err.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
1336errors.Add(err.Message); 1574ErrorReporting.ShowErrorMessage((err.InnerException ?? err).Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1057ErrorReporting.ShowErrorMessage(err.Message); 1148MessageBox.Show(err.Message, err.GetType().Name, MessageBoxButton.OK, MessageBoxImage.Error);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
69this.editor.ShowErrorMessage(exception.Message);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (8)
546Trace.WriteLine(ex.Message); 578Debug.Fail("Unable to find editor with the following editor name: " + this.editorName, ex.Message); 930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 1173this.Context.Items.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() }); 1178MessageBox.Show(err.ToString(), err.Message); 1693MessageBox.Show(ex.Message); 1870errorMessage = err.Message;
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() });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1040ErrorReporting.ShowErrorMessage(e.Message);
fx\src\data\System\Data\Common\DbDataAdapter.cs (3)
1410string message = errors.Message; 1417string rowMsg = batchCommands[i].Errors.Message; 1466string message = errors.Message;
fx\src\data\System\Data\Constraint.cs (1)
147throw ExceptionBuilder.BadObjectPropertyAccess(e.Message);
fx\src\data\System\Data\DataException.cs (2)
248Bid.Trace(trace, e.Message); 689return _Argument(innerException.Message + Res.GetString(Res.DataColumn_SetFailed, value.ToString(), column.ColumnName, type.Name), innerException);
fx\src\data\System\Data\DataRelation.cs (1)
662throw ExceptionBuilder.BadObjectPropertyAccess(e.Message);
fx\src\data\System\Data\Merger.cs (1)
515dataSet.RaiseMergeFailed(null, e.Message, missingSchemaAction);
fx\src\data\System\Data\Odbc\DbDataRecord.cs (1)
80throw new OverflowException(innerException.Message, innerException);
fx\src\data\System\Data\OleDb\OleDbException.cs (2)
30internal OleDbException(OleDbException previous, Exception inner) : base(previous.Message, inner) { 126builder.Append(exception.Message);
fx\src\data\System\Data\OleDb\OleDbInfoMessageEvent.cs (1)
41return this.exception.Message;
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
215return string.Format(CultureInfo.CurrentCulture, "{0} ({1}).", Res.GetString("LocalDB_UnobtainableMessage"), exc.Message);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1255Bid.Trace("<sc.SqlConnection.ReconnectAsyncINFO> Orginal ClientConnectionID %ls - reconnection attempt failed error %ls\n", _originalConnectionId.ToString(), e.Message);
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
187SqlException exception = new SqlException(Message, _errors, InnerException, _clientConnectionId);
fx\src\data\System\Data\SqlClient\SqlInfoMessageEvent.cs (1)
28get { return exception.Message; }
fx\src\data\System\Data\SqlClient\SqlUtil.cs (9)
1173return ADP.InvalidOperation(Res.GetString(Res.TCE_UnableToVerifyColumnMasterKeySignature, innerExeption.Message), innerExeption); 1188return ADP.InvalidOperation(Res.GetString(Res.TCE_ExceptionWhenGeneratingEnclavePackage, innerExeption.Message), innerExeption); 1192return ADP.InvalidOperation(Res.GetString(Res.TCE_FailedToEncryptRegisterRulesBytePackage, innerExeption.Message), innerExeption); 1196return ADP.Argument(Res.GetString(Res.TCE_InvalidKeyIdUnableToCastToUnsignedShort, keyId, innerException.Message), innerException); 1200return ADP.Argument(Res.GetString(Res.TCE_InvalidDatabaseIdUnableToCastToUnsignedInt, databaseId, innerException.Message), innerException); 1204return ADP.Argument(Res.GetString(Res.TCE_InvalidAttestationParameterUnableToConvertToUnsignedInt, enclaveType, intValue, variableName, innerException.Message), innerException); 1250return ADP.InvalidOperation(Res.GetString(Res.TCE_CannotGetSqlColumnEncryptionEnclaveProviderConfig, innerException.Message), innerException); 1254return ADP.InvalidOperation(Res.GetString(Res.TCE_CannotCreateSqlColumnEncryptionEnclaveProvider, providerName, type, innerException.Message), innerException); 1302sqlErs.Add (new SqlError(infoNumber:0, errorState:(byte)0x00, errorClass:(byte)TdsEnums.MIN_ERROR_CLASS, server:serverName, errorMessage:e.Message, procedure:null, lineNumber:0));
System.Data.Entity (8)
System\Data\Common\EntityUtil.cs (1)
1329return InvalidOperation(System.Data.Entity.Strings.ObjectContext_AcceptAllChangesFailure(e.Message));
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
230AddError(ErrorCode.InternalError, EdmSchemaErrorSeverity.Error, ex.Message);
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
576error = new EdmSchemaError( ex.Message, (int)errorCode, severity, sourceLocation, lineNumber, linePosition, ex );
System\Data\Mapping\ViewGeneration\GeneratedView.cs (2)
97EdmSchemaError error = new EdmSchemaError(System.Data.Entity.Strings.Mapping_Invalid_QueryView2(setMapping.Set.Name, parserException.Message), 200throw new MappingException(System.Data.Entity.Strings.Mapping_Invalid_QueryView(m_extent.Name, parserException.Message));
System\Data\Metadata\StoreItemCollection.Loader.cs (3)
210StringBuilder message = new StringBuilder(provEx.Message); 211if (provEx.InnerException != null && !string.IsNullOrEmpty(provEx.InnerException.Message)) 213message.AppendFormat(" {0}", provEx.InnerException.Message);
System.Data.Entity.Design (9)
System\Data\Entity\Design\Common\EDesignUtil.cs (2)
26string message = e.Message; 33message += inner.Message;
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
662error.ErrorText = actual.Message;
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
369_errors.Add(new EdmSchemaError(ex.Message, (int)errorCode, severity, ex)); 382_errors.Add(new EdmSchemaError(ex.Message, (int)errorCode, severity, this._sourceSchema.Location, lineNumber, linePosition, ex));
System\Data\EntityModel\EntityClassGenerator.cs (4)
144errors.Add(new EdmSchemaError(e.Message, 337return new EdmSchemaError(exception.Message, (int)errorCode, EdmSchemaErrorSeverity.Error, sourceLocation, 0, 0, exception); 345return new EdmSchemaError(exception.Message, (int)errorCode, EdmSchemaErrorSeverity.Error, sourceLocation, 0, 0, exception); 352return new EdmSchemaError(exception.Message, (int)errorCode, EdmSchemaErrorSeverity.Error, null, 0, 0, exception);
System.Data.Services (4)
System\Data\Services\ErrorHandler.cs (4)
188dataException.Message, 279message = dataException.Message ?? ""; 305string exceptionMessage = exception.Message ?? String.Empty; 343string exceptionMessage = exception.Message ?? String.Empty;
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceQueryOfT.cs (1)
226return Strings.ALinq_TranslationError(e.Message);
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
119string errorMessage = ex.Message;
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
318results.Errors.Add(compiler.CreateError(lastScript.EndLineInfo, /*[XT_041]*/Res.Xslt_ScriptCompileException, e.Message));
System.IdentityModel (13)
System\IdentityModel\DiagnosticUtilityExtensions.cs (1)
76SR.GetString(SR.ID1024, propertyName, inner.Message),
System\IdentityModel\RijndaelCryptoServiceProvider.cs (1)
378string reason = (err != 0) ? new Win32Exception(err).Message : String.Empty;
System\IdentityModel\SafeCryptHandles.cs (1)
116string reason = (err != 0) ? new Win32Exception(err).Message : String.Empty;
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
133SecurityUtils.GetCertificateId(certificate), new CryptographicException(error).Message)));
System\IdentityModel\Selectors\X509CertificateValidator.cs (2)
272throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenValidationException(exception.Message + " " + ex.Message));
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
119this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
192this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
403this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
1050this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
619this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
140this.TraceTokenValidationFailure(token, e.Message);
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
602this.TraceTokenValidationFailure(token, e.Message);
System.IdentityModel.Selectors (5)
infocard\client\System\IdentityModel\Selectors\NativeMethods.cs (1)
38SR.GetString(SR.ClientAPIDetailedExceptionMessage, wex.Message, context)));
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (4)
594string message = ie.Message; 609String errString = ex.Message + "\n"; 617ex.InnerException.Message); 653e.Message,
System.IO.Log (5)
System\IO\Log\Error.cs (5)
125innerException.Message, 164innerException.Message, 176innerException.Message, 219return new IOException(SR.GetString(SR.IO_DeviceException, innerException.Message), 231return new InvalidOperationException(innerException.Message, innerException);
System.Management (1)
managementexception.cs (1)
742 msg = e.Message;
System.Messaging (2)
System\Messaging\Design\QueuePathDialog.cs (2)
175uiService.ShowError(e.Message); 177MessageBox.Show(e.Message, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error);
System.Net (5)
net\PeerToPeer\Collaboration\ContactManager.cs (1)
1574Logging.P2PTraceSource.TraceEvent(TraceEventType.Error, 0, "CreateContactAsyncHelper caught error {0}", e.Message);
net\PeerToPeer\Collaboration\Peer.cs (1)
252Logging.P2PTraceSource.TraceEvent(TraceEventType.Error, 0, "Exception thrown {0}", e.Message);
net\PeerToPeer\Collaboration\PeerCollaboration.cs (1)
60Logging.P2PTraceSource.TraceEvent(TraceEventType.Error, 0, "PeerCollabGetPresenceInfo had exception {0}", e.Message);
net\PeerToPeer\UnsafePeerToPeerMethods.cs (2)
317SR.GetString(SR.P2P_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message)); 321SR.GetString(SR.P2P_cant_determine_osinstalltype, OSInstallTypeRegKey, e.Message));
System.Runtime.Remoting (2)
channels\core\corechannel.cs (2)
159"CoreChannel.UpdateCachedIPAddresses caught exception '{0}'; \r\nMessage: {1}", exception.GetType().ToString(), exception.Message)); 1084InternalRemotingServices.RemotingTrace(e.Message);
System.Runtime.Serialization (12)
System\Runtime\Serialization\DataContract.cs (4)
538throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex); 1029throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex); 1051throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex); 1068throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex);
System\Runtime\Serialization\DictionaryGlobals.cs (1)
183throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex);
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
227throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(ex.Message, ex);
System\Runtime\Serialization\SchemaImporter.cs (2)
833ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.IsValueTypeFormattedIncorrectly, isValueTypeInnerText, fe.Message)); 1169ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.IsDictionaryFormattedIncorrectly, isDictionaryInnerText, fe.Message));
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
424string innerExceptionMessage = (innerException == null) ? string.Empty : innerException.Message;
System\Xml\ValueHandle.cs (1)
475throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, exception.InnerException));
System\Xml\XmlBaseReader.cs (1)
1628throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, exception.InnerException));
System\Xml\XmlMtomReader.cs (1)
1277throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(e.Message, e));
System.ServiceModel (196)
System\ServiceModel\ActionNotSupportedException.cs (1)
24string reason = this.Message;
System\ServiceModel\Channels\ChannelDemuxer.cs (17)
162TD.CloseTimeout(e.Message); 287TD.ReceiveTimeout(e.Message); 327TD.ReceiveTimeout(e.Message); 700TD.ReceiveTimeout(e.Message); 1371TD.SendTimeout(e.Message); 1425TD.SendTimeout(e.Message); 1473TD.CloseTimeout(e.Message); 1738TD.OpenTimeout(e.Message); 1794TD.OpenTimeout(e.Message); 1839TD.OpenTimeout(e.Message); 1892TD.OpenTimeout(e.Message); 1935TD.OpenTimeout(e.Message); 2796TD.SendTimeout(e.Message); 2850TD.SendTimeout(e.Message); 2996TD.SendTimeout(e.Message); 3050TD.SendTimeout(e.Message); 3365TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\ChannelTracker.cs (1)
118TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
67TD.WebSocketConnectionFailed(this.EventTraceActivity, ex.Message); 105TD.WebSocketConnectionFailed(this.EventTraceActivity, ex.Message); 155TD.WebSocketConnectionFailed(this.EventTraceActivity, ex.Message); 408new WebSocketException(WebSocketError.ConnectionClosedPrematurely).Message);
System\ServiceModel\Channels\ConnectAlgorithms.cs (2)
153PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord(SR.GetString(SR.PeerMaintainerConnectFailure, epr, this.config.MeshId, e.Message)); 213TD.OpenTimeout(e.Message);
System\ServiceModel\Channels\Connection.cs (4)
630return new TimeoutException(ioException.InnerException.Message, ioException); 634return new CommunicationObjectAbortedException(ioException.InnerException.Message, ioException); 638return new CommunicationException(ioException.InnerException.Message, ioException); 914TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
278Exception exception = new ProtocolException(inner.Message, inner);
System\ServiceModel\Channels\ConnectionPool.cs (4)
191TD.CloseTimeout(exception.Message); 775TD.OpenTimeout(e.Message); 1057TD.OpenTimeout(e.Message); 1277TD.OpenTimeout(timeoutException.Message);
System\ServiceModel\Channels\DatagramAdapter.cs (3)
221TD.CloseTimeout(e.Message); 402TD.OpenTimeout(e.Message); 543TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\FramingDecoders.cs (3)
285return new CommunicationException(inner.Message, inner); 298return new CommunicationException(inner.Message, inner); 303return new CommunicationException(inner.Message, inner);
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
1632throw TraceUtility.ThrowHelperError(new CommunicationException(ioException.Message, 1637throw TraceUtility.ThrowHelperError(new CommunicationException(webException.Message, 1883completionException = new CommunicationException(webException.Message, webException);
System\ServiceModel\Channels\HttpChannelHelpers.cs (10)
2679new ProtocolException(SR.GetString(SR.HttpContentTypeFormatException, formatException.Message, httpWebRequest.ContentType), formatException)); 3210return new CommunicationException(SR.GetString(SR.HttpNoTrackingService, listenerException.Message), listenerException); 3213return new CommunicationException(SR.GetString(SR.HttpNetnameDeleted, listenerException.Message), listenerException); 3224return new CommunicationException(listenerException.Message, listenerException); 3519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(webException.Message, 3548throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(webException.Message, webException)); 3632return new CommunicationException(SR.GetString(SR.HttpTransferError, ioException.Message), ioException); 3642return TraceResponseException(new CommunicationException(webException.Message, webException)); 3660return new CommunicationException(SR.GetString(SR.HttpTransferError, webException.Message), webException); 3678return new CommunicationException(SR.GetString(SR.HttpTransferError, exception.Message), exception);
System\ServiceModel\Channels\HttpChannelListener.cs (1)
1205TD.ReceiveTimeout(e.Message);
System\ServiceModel\Channels\HttpPipeline.cs (1)
834TD.WebSocketConnectionFailed(this.EventTraceActivity, ex.Message);
System\ServiceModel\Channels\InitialServerConnectionReader.cs (3)
128TD.CloseTimeout(timeoutException.Message); 260TD.SendTimeout(e.Message); 286TD.SendTimeout(e.Message);
System\ServiceModel\Channels\Message.cs (2)
1317new CommunicationException(versionMismatchException.Message, versionMismatchException), 1520new CommunicationException(versionMismatchException.Message, versionMismatchException),
System\ServiceModel\Channels\MessageHeader.cs (1)
273throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(exception.Message, null));
System\ServiceModel\Channels\MsmqDecodeHelper.cs (1)
459throw new SerializationException(e.Message);
System\ServiceModel\Channels\OneWayChannelFactory.cs (1)
586TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\OneWayChannelListener.cs (6)
130TD.SendTimeout(e.Message); 338TD.SendTimeout(e.Message); 385TD.SendTimeout(e.Message); 939TD.OpenTimeout(e.Message); 1006TD.OpenTimeout(e.Message); 1377TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\PeerMaintainer.cs (1)
548PeerMaintainerTraceRecord record = new PeerMaintainerTraceRecord("Resolve exception " + e.Message);
System\ServiceModel\Channels\PipeConnection.cs (13)
204return ConvertPipeException(pipeException.Message, pipeException, transferOperation); 604TD.CloseTimeout(exception.Message); 635return new CommunicationException(innerException.Message, innerException); 2065Exception innerException = new PipeException(e.Message, e); 2066throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException)); 2095throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAccessDeniedException(innerException.Message, innerException)); 2099throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAlreadyInUseException(innerException.Message, innerException)); 2103throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException)); 2254return new CommunicationException(innerException.Message, innerException); 2545Exception innerException = new PipeException(e.Message, e); 2546throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(innerException.Message, innerException)); 2573throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAccessDeniedException(innerException.Message, innerException)); 2714return new AddressAlreadyInUseException(innerException.Message, innerException);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1549new CommunicationException(exception.Message, exception));
System\ServiceModel\Channels\RequestContextBase.cs (1)
331TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\ServiceChannel.cs (1)
917TD.CloseTimeout(e.Message);
System\ServiceModel\Channels\SessionConnectionReader.cs (5)
109TD.ReceiveTimeout(exception.Message); 205TD.ReceiveTimeout(exception.Message); 260TD.ReceiveTimeout(exception.Message); 1385TD.ReceiveTimeout(e.Message); 1404TD.ReceiveTimeout(e.Message);
System\ServiceModel\Channels\SingletonConnectionReader.cs (3)
175TD.ReceiveTimeout(exception.Message); 231TD.ReceiveTimeout(exception.Message); 916TD.ReceiveTimeout(exception.Message);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (7)
607throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 613SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException)); 928throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(tokenValidationException.Message, 933throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 939SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException)); 1013throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(tokenValidationException.Message, 1026throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(tokenValidationException.Message,
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (4)
33throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 39SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException)); 59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 65SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException));
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (4)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 42SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException)); 62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 68SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException));
System\ServiceModel\Channels\TransactionChannel.cs (2)
140FaultOnMessage(message, SR.GetString(SR.SFxTransactionDeserializationFailed, e.Message), FaultCodeConstants.Codes.TransactionHeaderMalformed); 192throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ProtocolException(e.Message, e));
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (1)
180SR.GetString(SR.UnsupportedBooleanAttribute, TransactionPolicyStrings.OptionalLocal, e.Message)));
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
230TD.ReceiveTimeout(e.Message); 1250TD.ReceiveTimeout(e.Message); 1288TD.ReceiveTimeout(e.Message);
System\ServiceModel\Channels\WebSocketHelper.cs (5)
251CommunicationObjectAbortedException communicationObjectAbortedException = new CommunicationObjectAbortedException(ex.Message, ex); 290ex = new ProtocolException(ex.Message, ex); 293ex = new CommunicationException(ex.Message, ex); 319return new CommunicationObjectAbortedException(exception.Message, exception); 322return new CommunicationException(exception.Message, exception);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
771TD.ReceiveTimeout(ex.Message); 792TD.ReceiveTimeout(exception.Message);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (4)
217throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 223SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException)); 435throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(exception.Message, 441SR.GetString(SR.NegotiationFailedIO, ioException.Message), ioException));
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (2)
69throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(System.ServiceModel.ComIntegration.Error.ManifestCreationFailed(strAssemblyManifestFileName, e.Message)); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(System.ServiceModel.ComIntegration.Error.ManifestCreationFailed(strAssemblyManifestFileName, e.Message));
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
402throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(Error.ListenerInitFailed(e.Message));
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
283exceptionInfo.bstrDescription = e.Message;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
391throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MonikerSyntaxException(SR.GetString(SR.MonikerFailedToDoMexRetrieve, ex.Message))); 395throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MonikerSyntaxException(SR.GetString(SR.MonikerFailedToDoMexRetrieve, e.Message)));
System\ServiceModel\ComIntegration\ProxyManager.cs (1)
184exceptionInfo.bstrDescription = e.Message;
System\ServiceModel\ComIntegration\TearOffProxy.cs (2)
45return new ReturnMessage(DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(e.GetBaseException().Message, Marshal.GetHRForException(e.GetBaseException()))), msg); 61return new ReturnMessage(DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(returnMsg.Exception.GetBaseException().Message, Marshal.GetHRForException(returnMsg.Exception.GetBaseException()))), msg);
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (2)
213throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MonikerSyntaxException(SR.GetString(SR.TypeLoadForContractTypeIIDFailedWith, typeIID, e.Message))); 246throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MonikerSyntaxException(SR.GetString(SR.BindingLoadFromConfigFailedWith, bindingType, e.Message)));
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
300throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MonikerSyntaxException(SR.GetString(SR.FailedImportOfWsdl, e.Message)));
System\ServiceModel\Description\MetadataExporter.cs (1)
147string errorMessage = SR.GetString(SR.PolicyExtensionExportError, exporter.GetType(), e.Message);
System\ServiceModel\Description\MetadataImporter.cs (1)
134string errorMessage = SR.GetString(SR.PolicyExtensionImportError, importer.GetType(), e.Message);
System\ServiceModel\Description\OperationGenerator.cs (1)
221method.Comments.Add(new CodeCommentStatement(SR.GetString(SR.SFxCodeGenWarning, ex.Message)));
System\ServiceModel\Description\WsdlImporter.cs (3)
1909string errorMessage = SR.GetString(SR.WsdlExtensionBeforeImportError, importer.GetType().AssemblyQualifiedName, e.Message); 1922string errorMessage = SR.GetString(SR.WsdlExtensionImportError, importer.GetType().FullName, e.Message); 1984return messageException.Message;
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (2)
231writer.WriteElementString("Exception", exception.GetType().ToString() + ":" + exception.Message); 325writer.WriteElementString("Exception", exception.Message);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
267SR.GetString(SR.SFxInvalidMessageBodyErrorSerializingParameter, part.Description.Namespace, part.Description.Name, sx.Message), sx)); 461part.Description.Namespace, part.Description.Name, e.Message), 469part.Description.Namespace, part.Description.Name, e.Message),
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
386DiagnosticUtility.FailFast(string.Format(CultureInfo.InvariantCulture, "ICallContextInitializer.BeforeInvoke threw an exception of type {0}: {1}", e.GetType(), e.Message));
System\ServiceModel\Dispatcher\ErrorBehavior.cs (2)
85fault = MessageFault.CreateFault(code, new FaultReason(error.Message), new ExceptionDetail(error)); 134TD.FaultProviderInvoked(handlers[i].GetType().FullName, e.Message);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (3)
1120throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(e.Message, e); 1271throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(e.Message, e); 1502throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(e.Message, e);
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
113TD.CloseTimeout(e.Message); 153TD.CloseTimeout(e.Message);
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
678throw DiagnosticUtility.ExceptionUtility.ThrowHelperFatal(e.Message, e);
System\ServiceModel\Dispatcher\NavigatorInvalidBodyAccessException.cs (1)
40return new FilterInvalidBodyAccessException(this.Message, this.InnerException, list);
System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
147SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, this.operationName, fe.Message), fe)); 152SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, this.operationName, se.Message), se)); 216SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, this.operationName, fe.Message), 222SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, this.operationName, se.Message),
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
442SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, fe.Message), fe)); 447SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, se.Message), se)); 484SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, fe.Message), 490SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, se.Message),
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
540new Win32Exception(error).Message)));
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
211throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(TransactionBehavior.CreateFault(SR.GetString(SR.SFxTransactionUnmarshalFailed, e.Message), FaultCodeConstants.Codes.TransactionUnmarshalingFailed, false));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
133SR.GetString(SR.SFxErrorSerializingHeader, messageDescription.MessageName, e.Message), e)); 311SR.GetString(SR.SFxErrorSerializingBody, messageDescription.MessageName, e.Message), e));
System\ServiceModel\ExceptionDetail.cs (1)
29this.message = exception.Message;
System\ServiceModel\InstanceContext.cs (1)
393TD.CloseTimeout(e.Message);
System\ServiceModel\MsmqException.cs (1)
149return Activator.CreateInstance(this.outerExceptionType, new object[] { this.Message, this }) as Exception;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
537TD.CloseTimeout(e.Message);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (3)
3319TD.ReceiveTimeout(e.Message); 3366TD.ReceiveTimeout(e.Message); 3409TD.CloseTimeout(e.Message);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (3)
868TD.CloseTimeout(e.Message); 906TD.CloseTimeout(e.Message); 1722TD.CloseTimeout(e.Message);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
1946importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedBooleanAttribute, OptionalName, e.Message), false));
System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
96importer.Errors.Add(new MetadataConversionError(SR.GetString(SR.UnsupportedBooleanAttribute, RequireClientCertificateName, e.Message), false));
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (8)
303throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 315throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 328throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 340throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 352throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 364throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 376throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message)); 388throw FxTrace.Exception.AsError(new MessageSecurityException(ex.Message));
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (2)
331throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenValidationException(ex.Message + " " + exception.Message));
System\ServiceModel\Transactions\WsatProxy.cs (1)
151new TransactionException(SR.GetString(SR.UnmarshalTransactionFaulted, e.Message), e));
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (2)
43this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture); 53this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture);
System.ServiceModel.Activation (21)
System\ServiceModel\Activation\HostedHttpContext.cs (2)
456return new CommunicationException(hostedException.Message, hostedException); 729throw FxTrace.Exception.AsError(new CommunicationException(e.Message, e));
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
439throw FxTrace.Exception.AsError(new HttpException((int)HttpStatusCode.NotFound, exception.Message, exception)); 605throw FxTrace.Exception.AsError(new CommunicationException(hostedException.Message, hostedException)); 785ServiceActivationException activationException = new ServiceActivationException(invalidOpException.Message, invalidOpException);
System\ServiceModel\Activation\ServiceParser.cs (7)
251return CreateParseException(innerException.Message, innerException, sourceCode); 449new HttpCompileException(parseException.Message, parseException)); 688new HttpCompileException(parseException.Message, parseException)); 694new HttpCompileException(parseException.Message, parseException)); 700new HttpCompileException(parseException.Message, parseException)); 720new HttpCompileException(parseException.Message, parseException)); 725new HttpCompileException(exception.Message, exception));
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (4)
201newException = new XmlException(SR.ExceptionLoadingSupportedVersion(filePath, e.Message), e.InnerException); 207newException = new XamlException(SR.ExceptionLoadingSupportedVersion(filePath, e.Message), e.InnerException); 213newException = new InvalidWorkflowException(SR.ExceptionLoadingSupportedVersion(filePath, e.Message), e.InnerException); 219newException = new ValidationException(SR.ExceptionLoadingSupportedVersion(filePath, e.Message), e.InnerException);
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
226throw FxTrace.Exception.AsError(new HttpCompileException(SR.XamlBuildProviderExtensionException(ex.Message)));
System\ServiceModel\ServiceHostingEnvironment.cs (4)
189messageAsString = exception.Message; 540throw FxTrace.Exception.AsError(new ArgumentException(exception.Message, "virtualPath", exception)); 964lastException = new ServiceActivationException(SR2.Hosting_ServiceCannotBeActivated(VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath), ex.Message), ex); 1420throw FxTrace.Exception.AsError(new ServiceActivationException(exception.Message, exception));
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
871return new FaultException(OperationExecutionFault.CreateInstanceNotFoundFault(exception.Message));
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
1347saveCommand.InstanceMetadataChanges[WorkflowServiceNamespace.SuspendReason] = new InstanceValue(reason.Message);
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
4496this.Instance.Controller.Track(new WorkflowInstanceSuspendedRecord(this.Instance.Id, this.Instance.WorkflowDefinition.DisplayName, data.reason.Message, this.Instance.DefinitionIdentity));
System\ServiceModel\Activities\ToReply.cs (1)
212new FaultReason(new FaultReasonText(exception.Message, CultureInfo.CurrentCulture)),
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
306TD.TransactedReceiveScopeEndCommitFailed(committableTransaction.TransactionInformation.LocalIdentifier, ex.Message);
System\ServiceModel\Activities\WorkflowService.cs (2)
386validationErrors.Add(new ValidationError(exception.Message)); 614exceptionMessage.AppendLine(e.Message);
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
355xml.WriteElementString(DiagnosticStrings.MessageTag, XmlEncode(exception.Message));
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
760new Tuple<string, string> (DiagnosticStrings.MessageTag, XmlEncode(exception.Message)),
System\Runtime\ExceptionTrace.cs (1)
348stackTrace = exception.Message;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
71throw FxTrace.Exception.AsError(new SecurityNegotiationException(errorDetail.Message));
System.ServiceModel.Web (13)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
395innerFault = MessageFault.CreateFault(code, new FaultReason(error.Message, CultureInfo.CurrentCulture), new ExceptionDetail(error));
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (9)
195part.Description.Namespace, part.Description.Name, e.Message), 203part.Description.Namespace, part.Description.Name, e.Message), 299System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBodyErrorSerializingParameter, replyMessageInfo.ReturnPart.Description.Namespace, replyMessageInfo.ReturnPart.Description.Name, sx.Message), sx)); 387part.Description.Namespace, part.Description.Name, e.Message), 395part.Description.Namespace, part.Description.Name, e.Message), 484part.Description.Namespace, part.Description.Name, e.Message), 492part.Description.Namespace, part.Description.Name, e.Message), 630System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBodyErrorSerializingParameter, part.Description.Namespace, part.Description.Name, sx.Message), sx)); 713System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBodyErrorSerializingParameter, part.Description.Namespace, part.Description.Name, sx.Message), sx));
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (3)
169div.Add(new XElement(HtmlPElementName, SR2.GetString(SR2.HelpServerErrorProcessingRequestWithDetails, error.Message))); 183string errorMessage = AppSettings.DisableHtmlErrorPageExceptionHtmlEncoding ? error.Message : HttpUtility.HtmlEncode(error.Message);
System.Transactions (4)
System\Transactions\Oletx\OletxTransactionManager.cs (1)
873comException.Message,
System\Transactions\Trace\DiagnosticTrace.cs (1)
694xml.WriteElementString(DiagnosticStrings.MessageTag, DiagnosticTrace.XmlEncode(exception.Message));
System\Transactions\Trace\TraceRecords.cs (1)
1134xml.WriteElementString("ExceptionMessage", this.exception.Message);
System\Transactions\TransactionScope.cs (1)
1279throw TransactionException.Create(SR.GetString(SR.TraceSourceBase), e.Message, e, newCurrent == null ? Guid.Empty : newCurrent.DistributedTxId);
System.Web (121)
Cache\SqlCacheDependency.cs (4)
269SR.GetString(SR.Invalid_sqlDependency_argument2, depString, e.Message), e); 918"\nMessage=" + sqlExpt.Message + 1557"\nMessage=" + sqlExpt.Message + 1617sqlExpt.Message == SqlCacheDependencyManager.SQL_CUSTOM_ERROR_TABLE_NOT_FOUND) {
Compilation\AssemblyBuilder.cs (1)
492throw new HttpParseException(e.Message, e,
Compilation\BuildManager.cs (3)
141throw new HttpException(_initializeException.Message, _initializeException); 189throw new HttpException(_topLevelFileCompilationException.Message, 905string message = (e.InnerException != null ? e.InnerException.Message : String.Empty);
Compilation\BuildProvidersCompiler.cs (1)
321new HttpParseException(_firstException.Message, _firstException, _firstException.VirtualPath,
Compilation\ClientBuildManager.cs (1)
642throw new HttpException(_hostCreationException.Message,
Configuration\CompilationSection.cs (1)
798string Message = e.Message;
Configuration\ConfigUtil.cs (3)
47throw new ConfigurationErrorsException(e.Message, e, node); 51throw new ConfigurationErrorsException(e.Message, e, 56throw new ConfigurationErrorsException(e.Message, e);
Configuration\HttpCapabilitiesBase.cs (1)
477string message = SR.GetString(SR.Invalid_string_from_browser_caps, e.Message, capsKey, this[capsKey]);
Configuration\HttpCapabilitiesSectionHandler.cs (2)
154throw new ConfigurationErrorsException(e.Message, e, element); 345throw new ConfigurationErrorsException(SR.GetString(SR.Error_loading_XML_file, fullFilename, e.Message),
Configuration\HttpModuleAction.cs (1)
113throw new ConfigurationErrorsException(ex.Message,
Configuration\MachineKeySection.cs (1)
948throw new ConfigurationErrorsException(SR.GetString(SR.Bad_machine_key, e.Message), ElementInformation.Properties["decryptionKey"].Source, ElementInformation.Properties["decryptionKey"].LineNumber);
Configuration\PagesSection.cs (2)
481throw new ConfigurationErrorsException(ex.Message, ex, 727throw new ConfigurationErrorsException(e.Message, e,
Configuration\ProtocolsConfigurationEntry.cs (2)
64throw new ConfigurationErrorsException(e.Message, e, _configFileName, _configFileLine); 75throw new ConfigurationErrorsException(e.Message, e, _configFileName, _configFileLine);
Configuration\ProtocolsSection.cs (2)
271e.Message, 286e.Message,
Configuration\ProvidersHelper.cs (2)
45throw new ConfigurationErrorsException(e.Message, e, providerSettings.ElementInformation.Properties["type"].Source, providerSettings.ElementInformation.Properties["type"].LineNumber); 76throw new ConfigurationErrorsException(e.Message, e);
Configuration\TransformerInfoCollection.cs (1)
106SR.GetString(SR.Transformer_attribute_error, e.Message),
DataAccess\SqlConnectionHelper.cs (1)
252HttpException httpExec = new HttpException(e.Message, e);
ErrorFormatter.cs (6)
876string msg = _initialException.Message; 906if (_initialException.Message != null) { 907string errorMessage = HttpUtility.FormatPlainTextAsHtml(_initialException.Message); 1036if (e.Message != null && e.Message.Length > 0) 1037sb.Append(": " + e.Message);
Hosting\AppDomainFactory.cs (1)
182Debug.Trace("internal", "AppDomainFactory::Create failed with " + e.GetType().FullName + ": " + e.Message + "\r\n" + e.StackTrace);
Hosting\IPipelineRuntime.cs (1)
294sb.Append(current.Message);
Hosting\ProcessHost.cs (2)
346Debug.Trace("internal", "ProcessHost::ctor failed with " + e.GetType().FullName + ": " + e.Message + "\r\n" + e.StackTrace); 386e.Message,
HttpApplicationFactory.cs (1)
163throw new HttpException(error.Message, error);
HttpException.cs (3)
377return base.Message; 488formatterMessage = innerException.Message; 561ParserError thisError = new ParserError(Message, _virtualPath, _line);
HttpResponse.cs (3)
1293if (e.Message != null && e.Message.Length > 0) 1294title += ": " + HttpUtility.HtmlEncode(e.Message);
HttpRuntime.cs (2)
681error = new HttpException(SR.GetString(SR.XSP_init_error, e.Message), e); 693throw new HttpException(InitializationException.Message, InitializationException);
Management\EventlogProvider.cs (1)
132string msg = ReplaceInsertionStringPlaceholders(exception.Message);
Management\regiisutil.cs (3)
212sb.Append(e.InnerException.Message); 218sb.Append(exception.Message ); 439exception = Marshal.StringToBSTR(e.Message);
Management\SqlServices.cs (2)
449"\nMessage=" + sqlExpt.Message + 474file, sqlExpt.Number.ToString(CultureInfo.CurrentCulture), sqlExpt.Message),
Management\WebEvents.cs (2)
1359formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_exception_message, ex.Message)); 1367fields.Add(new WebEventFieldData("ExceptionMessage", ErrorException.Message, WebEventFieldType.String));
Management\wmiprovider.cs (1)
210wmiData.exceptionMessage = exception.Message;
PartitionResolver.cs (1)
67errorMessage = e.Message;
Profile\HttpProfileBase.cs (1)
500throw new ConfigurationErrorsException(SR.GetString(SR.Profile_could_not_create_type, e.Message), e, pps.ElementInformation.Properties["type"].Source, pps.ElementInformation.Properties["type"].LineNumber);
Security\ADMembershipProvider.cs (1)
3648throw new ProviderException(SR.GetString(SR.ADMembership_Secure_connection_not_established, e.Message), e);
State\sqlstateclientmanager.cs (2)
195SR.GetString(SR.Error_parsing_sql_partition_resolver_string, s_configPartitionResolverType, e.Message), e); 203SR.GetString(SR.Error_parsing_session_sqlConnectionString, e.Message), e,
UI\ControlBuilder.cs (2)
2196throw new HttpException(SR.GetString(SR.Cannot_add_value_not_collection, TagName, ex.Message), ex); 2235throw new HttpException(SR.GetString(SR.Cannot_init, entry.Name, e.Message), e);
UI\DesignTimeTemplateParser.cs (1)
151throw new Exception(SR.GetString(SR.DesignTimeTemplateParser_ErrorParsingTheme) + " " + e.Message);
UI\HtmlControls\HtmlControl.cs (1)
266throw new HttpException(SR.GetString(SR.Property_Had_Malformed_Url, attribName, e.Message));
UI\Page.cs (6)
5333Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5334HttpUtility.HtmlEncode(e.Message)); 5369Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5370HttpUtility.HtmlEncode(e.Message)); 5429Util.QuoteJScriptString(HttpUtility.HtmlEncode(e.Message)) : 5430HttpUtility.HtmlEncode(e.Message));
UI\SimpleWebHandlerParser.cs (2)
188throw new HttpParseException(e.Message, e, _virtualPath, _sourceString, _lineNumber); 208throw new HttpParseException(e.Message, e, _virtualPath, s, _lineNumber);
UI\SkinBuilder.cs (2)
70Debug.Fail(e.Message); 154Debug.Fail(e.Message);
UI\TagNameToTypeMapper.cs (3)
207throw new HttpException(SR.GetString(SR.ControlAdapters_TypeNotFound, _tagPrefix + ":" + tagName) + " " + loadException.Message, loadException); 321throw new HttpParseException(e.Message, e, 415throw new HttpParseException(e.Message, e,
UI\TemplateControlParser.cs (2)
182ProcessError(ex.Message); 254ProcessError(SR.GetString(SR.Attrib_parse_error, attribName, e.Message));
UI\TemplateParser.cs (4)
244throw new HttpParseException(ex.Message, ex); 253parseError = new ParserError(hpe.Message, hpe.VirtualPath, hpe.Line); 256parseError = new ParserError(ex.Message, CurrentVirtualPath, _lineNumber); 860throw new HttpParseException(e.Message, e,
UI\TraceContext.cs (2)
286row["ErrorInfoMessage"] = errorInfo.Message; 304string eMsg = errorInfo.Message;
UI\WebControls\AdRotator.cs (2)
473throw new HttpException(SR.GetString(SR.AdRotator_cant_open_file, ID, e.Message)); 584SR.GetString(SR.AdRotator_parse_error, ID, e.Message), e);
UI\WebParts\AppearanceEditorPart.cs (6)
77_titleErrorMessage = CreateErrorMessage(e.Message); 86_chromeTypeErrorMessage = CreateErrorMessage(e.Message); 95_directionErrorMessage = CreateErrorMessage(e.Message); 125_heightErrorMessage = CreateErrorMessage(e.Message); 156_widthErrorMessage = CreateErrorMessage(e.Message); 166_hiddenErrorMessage = CreateErrorMessage(e.Message);
UI\WebParts\BehaviorEditorPart.cs (15)
112_allowCloseErrorMessage = CreateErrorMessage(e.Message); 121_allowConnectErrorMessage = CreateErrorMessage(e.Message); 129_allowHideErrorMessage = CreateErrorMessage(e.Message); 138_allowMinimizeErrorMessage = CreateErrorMessage(e.Message); 147_allowZoneChangeErrorMessage = CreateErrorMessage(e.Message); 156_exportModeErrorMessage = CreateErrorMessage(e.Message); 164_helpModeErrorMessage = CreateErrorMessage(e.Message); 171_descriptionErrorMessage = CreateErrorMessage(e.Message); 183_titleUrlErrorMessage = CreateErrorMessage(e.Message); 196_titleIconImageUrlErrorMessage = CreateErrorMessage(e.Message); 209_catalogIconImageUrlErrorMessage = CreateErrorMessage(e.Message); 222_helpUrlErrorMessage = CreateErrorMessage(e.Message); 230_importErrorMessageErrorMessage = CreateErrorMessage(e.Message); 237_authorizationFilterErrorMessage = CreateErrorMessage(e.Message); 244_allowEditErrorMessage = CreateErrorMessage(e.Message);
UI\WebParts\LayoutEditorPart.cs (2)
107_chromeStateErrorMessage = CreateErrorMessage(e.Message); 137_zoneIndexErrorMessage = CreateErrorMessage(e.Message);
UI\WebParts\PropertyGridEditorPart.cs (1)
130_errorMessages[i] = CreateErrorMessage(e.Message);
UI\WebParts\WebPartManager.cs (1)
2924errorMessage = e.Message;
Util\AppVerifier.cs (1)
644string fullMessage = ex.Message;
Util\Misc.cs (1)
82sb.Append(current.Message);
Util\SmtpMail.cs (4)
79throw new HttpException(GetInnerMostException(e).Message, e); 103throw new HttpException(GetInnerMostException(e).Message, e); 120throw new HttpException(GetInnerMostException(e).Message, e); 139throw new HttpException(GetInnerMostException(e).Message, e);
XmlSiteMapProvider.cs (1)
277SR.GetString(SR.XmlSiteMapProvider_Error_loading_Config_file, _virtualPath, e.Message), e);
System.Web.DataVisualization (20)
Common\Formulas\Oscillator.cs (2)
190if (e.Message == SR.ExceptionObjectReferenceIsNull) 193throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\PriceIndicators.cs (12)
145if (e.Message == SR.ExceptionObjectReferenceIsNull) 148throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 320if (e.Message == SR.ExceptionObjectReferenceIsNull) 323throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 464if (e.Message == SR.ExceptionObjectReferenceIsNull) 467throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 547if (e.Message == SR.ExceptionObjectReferenceIsNull) 550throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 690if (e.Message == SR.ExceptionObjectReferenceIsNull) 693throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 966if (e.Message == SR.ExceptionObjectReferenceIsNull) 969throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\TechGeneralIndicators.cs (2)
85if (e.Message == SR.ExceptionObjectReferenceIsNull) 88throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\VolumeIndicator.cs (2)
151if (e.Message == SR.ExceptionObjectReferenceIsNull) 154throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\General\Chart.cs (1)
3504throw (new InvalidOperationException(ex.Message));
Common\General\ChartAreaAxes.cs (1)
1505throw (new ArgumentException(SR.ExceptionAxisSeriesNotAligned + e.Message));
System.Web.DynamicData (1)
DynamicData\DynamicValidator.cs (1)
98ErrorMessage = HttpUtility.HtmlEncode(e.Message);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
689key, exceptions[key].Message), exceptions);
System\Data\WebControls\EntityDataSourceView.cs (1)
932key, exceptions[key].Message), exceptions);
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (4)
639exceptionMessage.Append(ex.Message); 986ShowError(Strings.Error_CannotCreateDbProviderFactory(ex.Message)); 1163errorMessage.AppendLine(Strings.Error_CannotRefreshSchema_RuntimeException(ex.Message)); 1166errorMessage.AppendLine(Strings.Error_CannotRefreshSchema_RuntimeException_InnerException(ex.InnerException.Message));
System.Web.Extensions (10)
Compilation\WCFBuildProvider.cs (2)
185string errorMessage = ex.Message; 245string errorMessage = ex.Message;
Compilation\WCFModel\ProxyGenerationError.cs (2)
63m_Message = errorException.Message; 81m_Message = errorException.Message;
Script\Services\RestHandler.cs (2)
158methodData.MethodName, retVal.GetType().FullName, e.Message)); 241writer.Write(JavaScriptSerializer.SerializeInternal(BuildWebServiceError(ex.Message, ex.StackTrace, ex.GetType().FullName)));
UI\PageRequestManager.cs (1)
424errorMessage = ex.Message;
UI\WebControls\Dynamic.cs (1)
434return string.Format(CultureInfo.InvariantCulture, AtlasWeb.ParseException_ParseExceptionFormat, Message, position);
UI\WebControls\LinqDataSourceView.cs (2)
637EntityType, errors.Values.First().Message), 886AtlasWeb.LinqDataSourceView_ValidationFailed, oldDataObject.GetType(), validateExceptions.Values.First().Message), validateExceptions);
System.Web.Mobile (12)
Mobile\DeviceFiltersSection.cs (2)
80SR.GetString(SR.DevCapSect_UnableAddDelegate, deviceFilter.Name, e.Message)); 323SR.GetString(SR.DevCapSect_NoCapabilityEval, Method, e.Message));
Mobile\MobileDeviceCapabilitiesSectionHandler.cs (2)
134methodName, e.Message); 169name, e.Message);
Mobile\MobileErrorInfo.cs (2)
93this.MiscText = parseException.Message; 114this.Description = e.Message;
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
265wmlWriter.WriteEncodedText(ex.Message);
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (3)
138if (e.Message.Equals(SR.GetString(SR.DeviceFilterEditorDialog_DuplicateNames))) 151e.Message 492SR.GetString(SR.DeviceFilterEditorDialog_WebConfigParsingError, e.Message)
UI\MobileControls\Design\MobileControlDesigner.cs (1)
296designTimeHTML = GetDesignTimeErrorHtml(ex.Message, false);
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
539designTimeHTML = GetDesignTimeErrorHtml(ex.Message, false);
System.Web.Services (17)
System\Web\Services\Diagnostics\TraceUtility.cs (4)
151TraceEvent(eventType, Res.GetString(Res.TraceExceptionThrown, method.ToString(), e.GetType(), e.Message)); 166TraceEvent(eventType, Res.GetString(Res.TraceExceptionCought, method, e.GetType(), e.Message)); 176TraceEvent(eventType, Res.GetString(Res.TraceExceptionCought, TraceMethod.MethodId(target, method), e.GetType(), e.Message)); 186TraceEvent(eventType, Res.GetString(Res.TraceExceptionIgnored, method, e.GetType(), e.Message));
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (4)
157specialErrorMessages.Add(e.InnerException.Message); 164errorMessage.Append("\n - ").Append(errorInValidDocument.Message); 197e.Message)); 199errorMessage.Append("\n - ").Append(e.InnerException.Message);
System\Web\Services\Protocols\ServerProtocol.cs (5)
135string text = htmlEscapeMessage ? HttpUtility.HtmlEncode(inner.Message) : inner.Message; 146if (e.Message != null && e.Message.Length > 0) { 148builder.Append(HttpUtility.HtmlEncode(e.Message));
System\Web\Services\Protocols\SoapException.cs (4)
92/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to <paramref name="message"/>, <see cref='System.Web.Services.Protocols.SoapException.Code'/> to 102/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 114/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 125/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to
System.Windows.Forms (41)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
524string newMessage = SR.GetString(SR.NotSupported, typeName, dataNodeInfo.ReaderPosition.Y, dataNodeInfo.ReaderPosition.X, nse.Message);
winforms\Managed\System\Resources\ResXResourceReader.cs (3)
407string newMessage = SR.GetString(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 415string newMessage = SR.GetString(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException.Message); 429XmlException xmlEx = new XmlException(e.Message, e, pt.Y, pt.X);
winforms\Managed\System\WinForms\AxHost.cs (4)
4955Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Could not create font." + e.Message); 5017Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Could not create font from: " + oleFont.Name + ". " + e.Message); 7109Debug.WriteLineIf(AxPropTraceSwitch.TraceVerbose, "Get failed for : " + Name + " with exception: " + e.Message + " .Making property non-browsable."); 7467Debug.Fail("Failed to build IPerPropertyBrowsing editor. " + ex.GetType().Name + ", " + ex.Message);
winforms\Managed\System\WinForms\Binding.cs (1)
628errorText = ex.Message;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (2)
96Debug.WriteLineIf(CAMarshalSwitch.TraceVerbose, "Marshaling failed: " + ex.GetType().Name + ", " + ex.Message); 131Debug.WriteLineIf(CAMarshalSwitch.TraceVerbose, "Failed to marshal " + ItemType.Name + " item, exception=" + ex.GetType().Name +", " +ex.Message);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
332Debug.Fail("Failed to build IPerPropertyBrowsing editor. " + ex.GetType().Name + ", " + ex.Message);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
801Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: PtrtoStructFailed " + ex.GetType().Name + "," + ex.Message);
winforms\Managed\System\WinForms\DataGrid.cs (2)
1070errorMessage = e.Message; 3679errorMessage = e.Message;
winforms\Managed\System\WinForms\Formatter.cs (2)
359throw new FormatException(ex.Message, ex); 440throw new FormatException(ex.InnerException.Message, ex.InnerException);
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2586message = exception.GetType().ToString() + ": " + exception.Message;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (3)
1339RTLAwareMessageBox.Show(GridEntryHost, e.Message, SR.GetString(SR.PBRSErrorTitle), MessageBoxButtons.OK, 1690Debug.Fail("Failed to get properties: " + e.GetType().Name + "," + e.Message + "\n" + e.StackTrace); 1770Debug.Fail("Bad Type Converter! " + t.GetType().Name + ", " + t.Message + "," + converter.ToString(), t.ToString());
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
132RTLAwareMessageBox.Show(this, ex.Message, SR.GetString(SR.PBRSErrorTitle), MessageBoxButtons.OK, MessageBoxIcon.Warning,
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
74if (string.IsNullOrEmpty(e.Message)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
1215return ex.Message; 1249string message = except.Message;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
4992string exMessage = ex.Message; 5003exMessage = ex.Message; 5074string exMessage = ex.Message; 5083exMessage = ex.Message;
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
131messageText = w.Message; 140messageText = t.Message;
winforms\Managed\System\WinForms\TrustManager.cs (7)
299Debug.Fail("Exception occurred while locating default browser executable: " + ex.Message); 480Debug.Fail("Error occurred while showing basic install dialog: " + ex.Message); 722Debug.Fail("Exception occurred in GetHostFromDeploymentUrl: " + ex.Message); 823Debug.Fail("Exception occurred in GetZonePromptingLevel: " + ex.Message); 854Debug.Fail("Error occurred while showing high risk dialog: " + ex.Message); 887Debug.Fail("Error occurred while showing error dialog: " + ex.Message); 941Debug.Fail("Error parsing manifest: " + e.Message);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
769Debug.Fail("Error occurred while showing More Information: " + ex.Message); 785Debug.Fail("Couldn't display certificate: " + ex.Message); 802Debug.Fail("Couldn't launch support Url: " + ex.Message);
System.Windows.Forms.DataVisualization (20)
Common\Formulas\Oscillator.cs (2)
190if (e.Message == SR.ExceptionObjectReferenceIsNull) 193throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\PriceIndicators.cs (12)
145if (e.Message == SR.ExceptionObjectReferenceIsNull) 148throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 320if (e.Message == SR.ExceptionObjectReferenceIsNull) 323throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 464if (e.Message == SR.ExceptionObjectReferenceIsNull) 467throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 547if (e.Message == SR.ExceptionObjectReferenceIsNull) 550throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 690if (e.Message == SR.ExceptionObjectReferenceIsNull) 693throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 966if (e.Message == SR.ExceptionObjectReferenceIsNull) 969throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\TechGeneralIndicators.cs (2)
85if (e.Message == SR.ExceptionObjectReferenceIsNull) 88throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\Formulas\VolumeIndicator.cs (2)
151if (e.Message == SR.ExceptionObjectReferenceIsNull) 154throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message);
Common\General\Chart.cs (1)
3504throw (new InvalidOperationException(ex.Message));
Common\General\ChartAreaAxes.cs (1)
1505throw (new ArgumentException(SR.ExceptionAxisSeriesNotAligned + e.Message));
System.Workflow.Activities (27)
Common\ValidationHelpers.cs (1)
67error = new ValidationError(SR.GetString(SR.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier);
Rules\Design\Dialogs\BasicBrowserDialog.cs (4)
159DesignerHelpers.DisplayError(ex.Message, this.Text, this.activity.Site); 182DesignerHelpers.DisplayError(ex.Message, this.Text, this.activity.Site); 205DesignerHelpers.DisplayError(ex.Message, this.Text, this.activity.Site); 240DesignerHelpers.DisplayError(ex.Message, this.Text, this.activity.Site);
Rules\Design\Dialogs\RuleConditionDialog.cs (3)
105conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 140conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 193DesignerHelpers.DisplayError(Messages.Error_ConditionParser + "\n" + syntaxException.Message, this.Text, this.serviceProvider);
Rules\Design\Dialogs\RuleSetDialog.cs (9)
169conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 181thenErrorProvider.SetError(this.thenTextBox, ex.Message); 193elseErrorProvider.SetError(this.elseTextBox, ex.Message); 240conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 241DesignerHelpers.DisplayError(Messages.Error_ConditionParser + "\n" + ex.Message, this.Text, this.serviceProvider); 264thenErrorProvider.SetError(this.thenTextBox, ex.Message); 265DesignerHelpers.DisplayError(Messages.Error_ActionsParser + "\n" + ex.Message, this.Text, this.serviceProvider); 288elseErrorProvider.SetError(this.elseTextBox, ex.Message); 289DesignerHelpers.DisplayError(Messages.Error_ActionsParser + "\n" + ex.Message, this.Text, this.serviceProvider);
Rules\Executor.cs (2)
131RuleDecompiler.DecompileType(propertyInfo.ReflectedType), propertyInfo.Name, e.InnerException.Message); 157RuleDecompiler.DecompileType(propertyInfo.ReflectedType), propertyInfo.Name, e.InnerException.Message);
Rules\Expressions.cs (2)
1615RuleDecompiler.DecompileType(mi.ReflectedType), mi.Name, e.InnerException.Message); 3123e.InnerException.Message);
Rules\Parser\Parser.cs (1)
2775throw new RuleSyntaxException(ErrorNumbers.Error_MethodNotExists, invokeEx.InnerException.Message, lparenPosition);
Rules\Parser\Scanner.cs (4)
602message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 615message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 628message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidDecimalConstant, exception.Message); 643message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidIntegerConstant, exception.Message);
Rules\RuleValidation.cs (1)
2276error = new ValidationError(e.Message, ErrorNumbers.Error_OperandTypesIncompatible);
System.Workflow.ComponentModel (64)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
584typeLoadError = TypeSystemSR.GetString("Error_CodeCompileUnitNotLoaded", new object[] { e.Message }); 586typeLoadError = TypeSystemSR.GetString("Error_AssemblyRefNotLoaded", new object[] { entry.Key.ToString(), e.Message });
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
521validationErrors.Add(new ValidationError(e.Message, ErrorNumbers.Error_InvalidIdentifier));
AuthoringOM\Compiler\XomlCompiler.cs (2)
772results.Errors.Add(new WorkflowCompilerError(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1076results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message)));
AuthoringOM\Compiler\XomlCompilerError.cs (1)
55this.ErrorText = exception.Message;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
198WorkflowCompilerError compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_TypeLoad.ToString(CultureInfo.InvariantCulture), entry.Value.Message);
AuthoringOM\ComponentFactoryHelpers.cs (1)
213message = ex.Message;
AuthoringOM\Design\ActivityDesigner.cs (1)
2565throw new Exception(DR.GetString(DR.ActivityInsertError) + "\n" + ex.Message, ex);
AuthoringOM\Design\CommandSet.cs (2)
813errorString += "\n" + exception.Message; 902throw new Exception(DR.GetString(DR.ActivityInsertError) + "\n" + ex.Message, ex);
AuthoringOM\Design\DesignerHelpers.cs (7)
957msg = e.Message; 965msg = e.Message; 973msg = e.Message; 981msg = e.Message; 989msg = e.Message; 1131string msg = e.Message; 1445string message = e.Message;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
759DesignerHelpers.ShowError(this.serviceProvider, SR.GetString(SR.Error_AddAssemblyRef, fileDialog.FileName, ex.Message)); 876Debug.WriteLine("Count not retrieve attributes from type:" + e.Message);
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
1058errorString += "\n" + exception.Message;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (4)
542string dragDropException = ex.Message; 543if (ex.InnerException != null && !String.IsNullOrEmpty(ex.InnerException.Message)) 544dragDropException = ex.InnerException.Message; 844DesignerHelpers.ShowError(ParentView, e.Message);
AuthoringOM\Design\SecondaryViewProvider.cs (1)
199uiService.ShowError(e.Message);
AuthoringOM\Design\UITypeEditors.cs (4)
161if (!String.IsNullOrEmpty(e.Message)) 162message += "\n\n" + e.Message; 196if (!String.IsNullOrEmpty(e.Message)) 197message += "\n\n" + e.Message;
AuthoringOM\Design\WorkflowPrinting.cs (1)
197DesignerHelpers.ShowError(this.workflowView, DR.GetString(DR.SelectedPrinterIsInvalidErrorMessage) + "\n" + exception.Message);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (32)
292serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 318serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerThrewException, obj.GetType(), e.Message), e, reader)); 407serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 418serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerThrewException, obj.GetType(), e.Message), e, reader)); 540serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 610serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 627serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 710serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 846serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerPropertyGetFailed, new object[] { propertyName, obj.GetType().FullName, e.Message }))); 883serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 948serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 985serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerPropertyGetFailed, propertyName, ownerType.FullName, e.Message))); 1100serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 1111serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e)); 1671errorMsg = e.Message; 1715serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerTypeNotResolvedWithInnerError, new object[] { GetClrFullName(serializationManager, xmlQualifiedName), e.Message }), e, reader)); 1727serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerTypeNotResolvedWithInnerError, new object[] { GetClrFullName(serializationManager, xmlQualifiedName), e.Message }), e, reader)); 1764serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerCreateInstanceFailed, e.Message), reader)); 1785serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerCreateInstanceFailed, type.FullName, e.Message), reader)); 1887serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e, reader)); 2002serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerMemberSetFailed, new object[] { reader.LocalName, reader.Value, reader.LocalName, obj.GetType().FullName, e.Message }), e, reader)); 2036serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerMemberSetFailed, new object[] { reader.LocalName, reader.Value, reader.LocalName, obj.GetType().FullName, e.Message }), e, reader)); 2046serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerMemberSetFailed, new object[] { reader.LocalName, reader.Value, reader.LocalName, obj.GetType().FullName, e.Message }), e, reader)); 2537serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_MarkupExtensionDeserializeFailed, attrValue, error.Message), reader)); 2621serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerThrewException, obj.GetType().FullName, e.Message), e, reader)); 2921serializationManager.ReportError(CreateSerializationError(SR.GetString(SR.Error_SerializerCreateInstanceFailed, this.contentProperty.PropertyType.FullName, e.Message), reader)); 2938this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e)); 2961this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e)); 3002this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition)); 3028this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition)); 3052this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition)); 3078this.serializationManager.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition));
Shared\ValidationHelpers.cs (1)
66error = new ValidationError(SR.GetString(SR.Error_InvalidIdentifier, propName, e.Message), ErrorNumbers.Error_InvalidIdentifier);
System.Workflow.Runtime (26)
DebugEngine\DebugController.cs (1)
586Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: Failure in DebugController.AttachToConduit: {0}, Call stack:{1}", e.Message, e.StackTrace));
Hosting\DefaultWorkflowLoaderService.cs (2)
70errors.Add(new ValidationError(((WorkflowMarkupSerializationException)error).Message, ErrorNumbers.Error_SerializationError)); 78errors.Add(new ValidationError(e.Message, ErrorNumbers.Error_SerializationError));
Hosting\DefaultWorkflowSchedulerService.cs (2)
241WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? null : ci.State, e.Message); 247WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? null : ci.State, e.Message);
Hosting\ManualWorkflowSchedulerService.cs (2)
340WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? Guid.Empty : ci.InstanceId, e.Message); 346WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? Guid.Empty : ci.InstanceId, e.Message);
Hosting\SqlWorkflowPersistenceService.cs (3)
1135WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService({1})Exception thrown while persisting instance: {0}", se.Message, _serviceInstanceId.ToString()); 1140PersistenceException pe = new PersistenceException(se.Message, se); 1151WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService({1}): Exception thrown while persisting instance: {0}", e.Message, _serviceInstanceId.ToString());
System\Activities\Statements\Interop.cs (1)
323metadata.AddValidationError(e.Message);
WorkflowExecutor.cs (15)
593Terminate(e.Message); 749WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Fatal exception thrown in the scheduler. Terminating the workflow instance '{0}'. Exception:{1}\n{2}", this.InstanceIdString, e.Message, e.StackTrace); 1120WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Persist attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1130WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Persist attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1131throw new PersistenceException(e.Message, e); 1503WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: TryUnloading attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1606WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Unload attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1654WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Terminate attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1702WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Persistence attempt at instance '{0}' termination threw an exception. Aborting the instance. The termination event would be raised. The instance would execute from the last persisted point whenever started by the host explicitly. Exception:{1}\n{2}", this.InstanceIdString, e.Message, e.StackTrace); 1791WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Abort attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 1905WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Suspend attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 2016WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: Resume attempt on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 2733WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "Workflow Runtime: WorkflowExecutor: dynamic update attempt from outside on instance '{0}' threw an exception '{1}' at {2}", this.InstanceIdString, e.Message, e.StackTrace); 3200expMessage = exp.Message; 3202expMessage = expMessage + " " + exp.Message;
System.WorkflowServices (7)
System\ServiceModel\Dispatcher\DurableErrorHandler.cs (1)
49messageFault = MessageFault.CreateFault(code, new FaultReason(toTrace.Message), new ExceptionDetail(toTrace));
System\Workflow\Activities\Design\RichListBox.cs (1)
216DesignerHelpers.ShowMessage(serviceProvider, exception.Message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
89DesignerHelpers.ShowMessage(serviceProvider, e.Message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
System\Workflow\Activities\SendActivity.cs (2)
562workflowInstanceId, qualifiedName, e.InnerException.Message); 570workflowInstanceId, qualifiedName, e.Message);
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (2)
296errors.Add(new ValidationError(((WorkflowMarkupSerializationException) error).Message, 1)); 311errors.Add(new ValidationError(e.Message, 1));
System.Xml (27)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
851throw new XmlException(e.Message, e);
System\Xml\Core\XmlTextReaderImpl.cs (2)
2505Throw( new XmlException( e.Message, (Exception)null, lineNo, linePos, ps.baseUriStr ) ); 7135innerMessage = e.Message;
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
4776innerMessage = e.Message;
System\Xml\Schema\DataTypeImplementation.cs (2)
485throw new XmlSchemaException(Res.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null); 499throw new XmlSchemaException(Res.Sch_InvalidValueDetailed, new string[] { s, GetTypeName(), exception.Message }, exception, null, 0, 0, null);
System\Xml\Schema\FacetChecker.cs (2)
307throw new XmlSchemaException(Res.Sch_PatternFacetInvalid, new string[] {e.Message}, e, pattern_facet.SourceUri, pattern_facet.LineNumber, pattern_facet.LinePosition, pattern_facet); 556throw new XmlSchemaException(code, new string[] {ex.Message} , ex, facet.SourceUri, facet.LineNumber, facet.LinePosition, facet);
System\Xml\Schema\Preprocessor.cs (4)
482SendValidationEvent(Res.Sch_AttributeValueDataTypeDetailed, new string[] { "version", schema.Version, tokenDt.TypeCodeString, exception.Message }, exception, schema); 1638SendValidationEvent(Res.Sch_InvalidAnyDetailed, new string[] {fe.Message}, fe, particle); 1672SendValidationEvent(Res.Sch_InvalidAnyDetailed, new string[] {fe.Message}, fe, anyAttribute); 1730SendValidationEvent(Res.Sch_InvalidAttribute, new string[] {attributeName, fx.Message}, fx, xso);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1378SendValidationEvent(Res.Sch_InvalidIdAttribute, ex.Message, xso); 1410SendValidationEvent(Res.Sch_InvalidAttribute, attributeName, ex.Message, xso);
System\Xml\Schema\XdrValidator.cs (1)
296SendValidationEvent(Res.Sch_CannotLoadSchema, new string[] {uri, e.Message}, XmlSeverityType.Warning);
System\Xml\Schema\XmlSchemaException.cs (1)
197return (message == null) ? base.Message : message;
System\Xml\Schema\XmlSchemaValidator.cs (6)
1097SendValidationEvent(Res.Sch_InvalidValueDetailedAttribute, new string[] { "schemaLocation", xsiSchemaLocation, dtStringArray.TypeCodeString, exception.Message }, exception); 1258SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.LocalName, context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception); 1389SendValidationEvent(Res.Sch_InvalidValueDetailedAttribute, new string[] { "type", xsiType, dtQName.TypeCodeString, exception.Message }, exception); 1564SendValidationEvent(Res.Sch_CannotLoadSchema, new string[] {uri, e.Message}, e, XmlSeverityType.Warning); 1648SendValidationEvent(Res.Sch_AttributeValueDataTypeDetailed, new string[] { attdef.Name.ToString(), stringValue, GetTypeName(decl), exception.Message }, exception); 1661SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.LocalName, context.Namespace), stringValue, GetTypeName(decl), exception.Message }, exception);
System\Xml\Schema\XsdValidator.cs (1)
510SendValidationEvent(Res.Sch_CannotLoadSchema, new string[] {uri, e.Message}, XmlSeverityType.Warning);
System\Xml\Serialization\Compilation.cs (1)
180Log(e.Message, EventLogEntryType.Information);
System\Xml\XmlException.cs (1)
287return ( message == null ) ? base.Message : message;
System\Xml\XPath\XPathException.cs (1)
107return (message == null) ? base.Message : message;
System\Xml\Xslt\XsltException.cs (1)
105return (message == null) ? base.Message : message;
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Accessible.cs (1)
1438Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "MsaaNativeProvider: IAccessible threw a COMException: {0}", e.Message));
MS\Internal\AutomationProxies\WinEventTracker.cs (2)
279Debug.Assert(false, "Exception raising event " + eventId + " for prop " + ecp._idProp + " on hwnd " + hwnd + "\n" + e.Message); 324Debug.Assert(false, "Exception raising event " + eventId + " for prop " + ecp._idProp + " on hwnd " + hwnd + "\n" + e.Message);
WindowsBase (1)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
455e = new COMException(message ?? e.Message, (int)_value);
WsatConfig (5)
CommandLine\ConsoleEntryPoint.cs (2)
58Console.WriteLine(wsatEx.Message); 64Console.WriteLine(SR.GetString(SR.UnexpectedError, e.Message));
Configuration\FirewallWrapper.cs (1)
84SR.GetString(SR.UnexpectedFirewallError, e.Message), e);
Configuration\MsdtcWrapper.cs (1)
149SR.GetString(SR.ErrorCannotGetMsdtcNetworkAccessSetting, e.Message), e);
Configuration\RemoteHelper.cs (1)
122SR.GetString(SR.ErrorAttemptRemoteExecution, e.Message));
WsatUI (9)
Configuration\FirewallWrapper.cs (1)
84SR.GetString(SR.UnexpectedFirewallError, e.Message), e);
Configuration\MsdtcWrapper.cs (1)
149SR.GetString(SR.ErrorCannotGetMsdtcNetworkAccessSetting, e.Message), e);
Configuration\RemoteHelper.cs (1)
122SR.GetString(SR.ErrorAttemptRemoteExecution, e.Message));
MMCUI\TraceOptionsForm.cs (1)
197ShowErrorDialog(ex.Message);
MMCUI\WSATControl.cs (2)
416MessageBox.Show(ex.Message, SR.GetString(SR.WSATUITitle), 428MessageBox.Show(ex.Message, SR.GetString(SR.ErrorMessageBoxTitle),
MMCUI\WSATPropertySheet.cs (3)
281ShowErrorDialog(ex.Message); 441ShowErrorDialog(ex.Message); 464ShowErrorDialog(ex.Message);
XamlBuildTask (17)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
408throw FxTrace.Exception.AsError(LogInvalidOperationException(reader, e.Message));
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (1)
183XamlBuildTaskServices.LogException(this.Log, e.Message);
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (4)
240XamlBuildTaskServices.LogException(this.BuildLogger, e.Message, app, 0, 0); 263XamlBuildTaskServices.LogException(this.BuildLogger, e.Message, inputMarkupFile, 0, 0); 287XamlBuildTaskServices.LogException(this.BuildLogger, e.Message); 350throw FxTrace.Exception.AsError(new LoggableException(SR.ExceptionThrownInExtension(extension.ToString(), e.GetType().ToString(), e.Message)));
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (1)
135XamlBuildTaskServices.LogException(this.Log, e.Message);
Microsoft\Build\Tasks\Xaml\LoggableException.cs (1)
50: base(innerException.Message, innerException)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (2)
196XamlBuildTaskServices.LogException(this.Log, e.Message); 235XamlBuildTaskServices.LogException(this.Log, e.Message);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (4)
329XamlBuildTaskServices.LogException(this.BuildLogger, e.Message, e.Source, e.LineNumber, e.LinePosition); 348XamlBuildTaskServices.LogException(this.BuildLogger, e.Message, inputMarkupFile, 0, 0); 383XamlBuildTaskServices.LogException(this.BuildLogger, e.Message); 564throw FxTrace.Exception.AsError(new LoggableException(SR.ExceptionThrownInExtension(extension.ToString(), e.GetType().ToString(), e.Message)));
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (2)
716e.Message, 718e.InnerException != null ? e.InnerException.Message : "null"));
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
96ValidationError(e.Message);