124 references to Data
mscorlib (6)
system\exception.cs (6)
205
IDictionary dict =
Data
;
222
if (
Data
!= null &&
Data
.Contains("__HasRestrictedLanguageErrorObject"))
224
if (
Data
.Contains("__RestrictedErrorObject"))
226
__RestrictedErrorObject restrictedObject =
Data
["__RestrictedErrorObject"] as __RestrictedErrorObject;
230
return (bool)
Data
["__HasRestrictedLanguageErrorObject"];
PresentationCore (6)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
3663
e.
Data
[ExceptionContext.Key] = new ExceptionContext(e.
Data
[ExceptionContext.Key], e.StackTrace, plsrun, lsrun);
3674
e.
Data
[ExceptionContext.Key] = new ExceptionContext(null, methodName, plsrun, lsrun);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (3)
428
ae.
Data
.Add("System.Windows.Ink.StrokeCollection", "");
523
ae.
Data
.Add("System.Windows.Ink.StrokeCollection", "");
536
ae.
Data
.Add("System.Windows.Ink.StrokeCollection", "");
PresentationFramework (1)
src\Framework\MS\Internal\Ink\EraserBehavior.cs (1)
434
if (!ex.
Data
.Contains("System.Windows.Ink.StrokeCollection"))
SMDiagnostics (1)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
130
IDictionary data = exception.
Data
;
System.Activities (1)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
324
exception.
Data
.Add(message, message.Message);
System.AddIn (5)
System\Addin\Hosting\AddInActivator.cs (5)
604
e.
Data
["Incorrectly loaded add-in adapters"] = addinAdapters;
605
e.
Data
["Expected adapter location"] = addinAdapter.Location;
607
e.
Data
["Duplicate Contracts"] = contracts;
622
e.
Data
["Incorrectly loaded contracts"] = contracts;
623
e.
Data
["Expected contract location"] = contract.Location;
System.Core (2)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (2)
235
this.asyncException.
Data
.Add("RealException", e);
255
EventRecordWrittenEventArgs args = new EventRecordWrittenEventArgs(this.asyncException.
Data
["RealException"] as Exception);
System.Data (15)
fx\src\data\System\Data\SqlClient\SqlException.cs (15)
120
if (
Data
.Contains(OriginalClientConnectionIdKey)) {
122
sb.AppendFormat(SQLMessage.ExOriginalClientConnectionId(),
Data
[OriginalClientConnectionIdKey]);
126
if (
Data
.Contains(RoutingDestinationKey)) {
128
sb.AppendFormat(SQLMessage.ExRoutingDestination(),
Data
[RoutingDestinationKey]);
144
exception.
Data
.Add(OriginalClientConnectionIdKey, internalConnection.OriginalClientConnectionId);
148
exception.
Data
.Add(RoutingDestinationKey, internalConnection.RoutingDestination);
173
exception.
Data
.Add("HelpLink.ProdName", "Microsoft SQL Server");
176
exception.
Data
.Add("HelpLink.ProdVer", serverVersion);
178
exception.
Data
.Add("HelpLink.EvtSrc", "MSSQLServer");
179
exception.
Data
.Add("HelpLink.EvtID", errorCollection[0].Number.ToString(CultureInfo.InvariantCulture));
180
exception.
Data
.Add("HelpLink.BaseHelpUrl", "http://go.microsoft.com/fwlink");
181
exception.
Data
.Add("HelpLink.LinkId", "20476");
188
if (this.
Data
!= null)
189
foreach (DictionaryEntry entry in this.
Data
)
190
exception.
Data
.Add(entry.Key, entry.Value);
System.ServiceModel (16)
System\ServiceModel\Channels\FramingFormat.cs (3)
156
if (exception.
Data
.Contains(FramingEncodingString.ExceptionKey))
158
framingFault = exception.
Data
[FramingEncodingString.ExceptionKey] as string;
170
exception.
Data
[FramingEncodingString.ExceptionKey] = framingFault;
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
603
exception.
Data
.Add(HttpChannelUtilities.HttpStatusCodeExceptionKey, statusCode);
606
exception.
Data
.Add(HttpChannelUtilities.HttpStatusDescriptionExceptionKey, statusDescription);
System\ServiceModel\Channels\HttpChannelListener.cs (6)
1151
if (protocolException.
Data
.Contains(HttpChannelUtilities.HttpStatusCodeExceptionKey))
1153
statusCode = (HttpStatusCode)protocolException.
Data
[HttpChannelUtilities.HttpStatusCodeExceptionKey];
1154
protocolException.
Data
.Remove(HttpChannelUtilities.HttpStatusCodeExceptionKey);
1156
if (protocolException.
Data
.Contains(HttpChannelUtilities.HttpStatusDescriptionExceptionKey))
1158
statusDescription = (string)protocolException.
Data
[HttpChannelUtilities.HttpStatusDescriptionExceptionKey];
1159
protocolException.
Data
.Remove(HttpChannelUtilities.HttpStatusDescriptionExceptionKey);
System\ServiceModel\Channels\HttpRequestContext.cs (3)
379
if (e.
Data
.Contains(HttpChannelUtilities.HttpStatusCodeKey))
381
if (e.
Data
[HttpChannelUtilities.HttpStatusCodeKey] is HttpStatusCode)
383
statusCode = (HttpStatusCode)e.
Data
[HttpChannelUtilities.HttpStatusCodeKey];
System\ServiceModel\Description\MessageContractImporter.cs (2)
1697
if (ex.
Data
.Contains(FailedReferenceTypeExceptionKey))
1699
failedReferenceType = ex.
Data
[FailedReferenceTypeExceptionKey] as Type;
System.ServiceModel.Internals (9)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (4)
364
if (exception.
Data
!= null && exception.
Data
.Count > 0)
367
foreach (object dataItem in exception.
Data
.Keys)
371
xml.WriteElementString(DiagnosticStrings.ValueTag, XmlEncode(exception.
Data
[dataItem].ToString()));
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (5)
782
if (exception.
Data
!= null && exception.
Data
.Count > 0)
852
foreach (object dataItem in exception.
Data
.Keys)
856
if (exception.
Data
[dataItem] == null)
862
xml.WriteElementString(DiagnosticStrings.ValueTag, XmlEncode(exception.
Data
[dataItem].ToString()));
System.Transactions (5)
System\Transactions\Trace\DiagnosticTrace.cs (5)
703
if (exception.
Data
!= null && exception.
Data
.Count > 0)
706
foreach (object dataItem in exception.
Data
.Keys)
711
if (dataItem != null && exception.
Data
[dataItem] != null)
714
xml.WriteElementString(DiagnosticStrings.ValueTag, DiagnosticTrace.XmlEncode(exception.
Data
[dataItem].ToString()));
System.Web (2)
HttpApplication.cs (1)
2226
e.
Data
[System.Web.Management.WebThreadInformation.IsImpersonatingKey] = String.Empty;
Management\WebEvents.cs (1)
2149
_isImpersonating = exception.
Data
.Contains(IsImpersonatingKey);
System.Web.Services (2)
System\Web\Services\Protocols\SoapException.cs (2)
189
IDictionary list = base.
Data
;
278
IDictionary list =
Data
;
System.Workflow.Activities (47)
Rules\CodeDomDecompiler.cs (1)
483
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
Rules\Executor.cs (5)
69
exception.
Data
[RuleUserDataKeys.ErrorObject] = fieldInfo;
83
exception.
Data
[RuleUserDataKeys.ErrorObject] = fieldInfo;
117
exception.
Data
[RuleUserDataKeys.ErrorObject] = propertyInfo;
143
exception.
Data
[RuleUserDataKeys.ErrorObject] = propertyInfo;
687
exception.
Data
[RuleUserDataKeys.ErrorObject] = expression;
Rules\Expressions.cs (37)
485
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
633
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
643
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
660
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
667
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
732
exception.
Data
[RuleUserDataKeys.ErrorObject] = binaryExpr;
998
exception.
Data
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
1016
exception.
Data
[RuleUserDataKeys.ErrorObject] = fieldRefExpr;
1170
exception.
Data
[RuleUserDataKeys.ErrorObject] = targetObject;
1180
exception.
Data
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1210
exception.
Data
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1227
exception.
Data
[RuleUserDataKeys.ErrorObject] = propGetExpr;
1460
exception.
Data
[RuleUserDataKeys.ErrorObject] = targetObject;
1470
exception.
Data
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1518
exception.
Data
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1528
exception.
Data
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1640
exception.
Data
[RuleUserDataKeys.ErrorObject] = invokeExpr;
1663
exception.
Data
[RuleUserDataKeys.ErrorObject] = invokeExpr;
2169
exception.
Data
[RuleUserDataKeys.ErrorObject] = castExpr;
2182
exception.
Data
[RuleUserDataKeys.ErrorObject] = castExpr;
2204
exception.
Data
[RuleUserDataKeys.ErrorObject] = castExpr;
2211
exception.
Data
[RuleUserDataKeys.ErrorObject] = castExpr;
2439
exception.
Data
[RuleUserDataKeys.ErrorObject] = targetObject;
2449
exception.
Data
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2493
exception.
Data
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2506
exception.
Data
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2569
exception.
Data
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2577
exception.
Data
[RuleUserDataKeys.ErrorObject] = indexerExpr;
2818
exception.
Data
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2848
exception.
Data
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
2856
exception.
Data
[RuleUserDataKeys.ErrorObject] = arrayIndexerExpr;
3026
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
3034
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
3159
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
3384
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
3392
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
3458
exception.
Data
[RuleUserDataKeys.ErrorObject] = createExpression;
Rules\Statements.cs (3)
77
exception.
Data
[RuleUserDataKeys.ErrorObject] = exprStatement;
209
exception.
Data
[RuleUserDataKeys.ErrorObject] = assignStatement;
215
exception.
Data
[RuleUserDataKeys.ErrorObject] = assignStatement;
Rules\Walker.cs (1)
242
exception.
Data
[RuleUserDataKeys.ErrorObject] = statement;
System.Workflow.Runtime (2)
Hosting\SqlWorkflowPersistenceService.cs (2)
471
e.
Data
["WorkflowNotFound"] = true;
962
if (!ioe.
Data
.Contains("WorkflowNotFound"))
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\ServiceErrorHandler.cs (2)
24
IDictionary data = toMark.
Data
;
33
IDictionary data = error.
Data
;
WindowsBase (2)
Base\System\Windows\Threading\Dispatcher.cs (2)
3030
if (!e.
Data
.Contains(ExceptionDataKey))
3033
e.
Data
.Add(ExceptionDataKey, null);