73 references to CallContext
mscorlib (20)
system\runtime\remoting\crossappdomainchannel.cs (4)
532
LogicalCallContext oldCallCtx =
CallContext
.SetLogicalCallContext(null);
548
CallContext
.SetLogicalCallContext(oldCallCtx);
655
LogicalCallContext threadPoolCallCtx =
CallContext
.SetLogicalCallContext(_callCtx);
665
CallContext
.SetLogicalCallContext(threadPoolCallCtx);
system\runtime\remoting\crosscontextchannel.cs (2)
505
CallContext
.SetLogicalCallContext(This._callCtx);
528
CallContext
.SetLogicalCallContext(threadPoolCallCtx);
system\runtime\remoting\message.cs (3)
870
return
CallContext
.SetLogicalCallContext(
889
CallContext
.SetLogicalCallContext(oldcctx);
2796
Object oIsCustomErrorEnabled =
CallContext
.GetData("__CustomErrorsEnabled");
system\runtime\remoting\objref.cs (1)
638
String[] bashInfo = (String[])
CallContext
.GetData("__bashChannelUrl");
system\runtime\remoting\remotingsurrogateselector.cs (1)
327
Object oClientIsClr =
CallContext
.GetData("__ClientIsClr");
system\runtime\remoting\stackbuildersink.cs (5)
97
oldCallCtx =
CallContext
.SetLogicalCallContext(messageCallContext);
172
CallContext
.SetLogicalCallContext(oldCallCtx);
185
CallContext
.SetLogicalCallContext(oldCallCtx);
217
oldCallCtx =
CallContext
.SetLogicalCallContext(callCtx);
295
CallContext
.SetLogicalCallContext(oldCallCtx);
system\threading\thread.cs (4)
353
IPrincipal principal = (IPrincipal)
CallContext
.Principal;
1401
CallContext
.Principal;
1405
CallContext
.Principal = principal;
1415
CallContext
.Principal = value;
System (4)
compmod\system\diagnostics\CorrelationManager.cs (4)
23
Object id =
CallContext
.LogicalGetData(activityIdSlotName);
30
CallContext
.LogicalSetData(activityIdSlotName, value);
58
Stack idStack =
CallContext
.LogicalGetData(transactionSlotName) as Stack;
61
CallContext
.LogicalSetData(transactionSlotName, idStack);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
3054
return (System.Runtime.Remoting.Messaging.
CallContext
.GetData("MS.SqlDependencyCookie") as string);
System.Runtime.Remoting (14)
channels\core\corechannel.cs (2)
893
CallContext
.SetData("__bashChannelUrl", bashInfo);
907
CallContext
.FreeNamedDataSlot("__bashChannelUrl");
channels\sinks\binaryformattersinks.cs (6)
558
CallContext
.SetData("__CustomErrorsEnabled", bIsCustomErrorEnabled);
652
CallContext
.SetData("__ClientIsClr", true);
654
CallContext
.FreeNamedDataSlot("__ClientIsClr");
664
CallContext
.FreeNamedDataSlot("__CustomErrorsEnabled");
712
CallContext
.SetData("__ClientIsClr", true);
717
CallContext
.FreeNamedDataSlot("__ClientIsClr");
channels\sinks\soapformattersinks.cs (6)
634
CallContext
.SetData("__CustomErrorsEnabled", bIsCustomErrorEnabled);
722
CallContext
.SetData("__ClientIsClr", bClientIsClr);
724
CallContext
.FreeNamedDataSlot("__ClientIsClr");
736
CallContext
.FreeNamedDataSlot("__CustomErrorsEnabled");
792
CallContext
.SetData("__ClientIsClr", bClientIsClr);
799
CallContext
.FreeNamedDataSlot("__ClientIsClr");
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (1)
251
System.Runtime.Remoting.Messaging.
CallContext
.HostContext = data.httpContext;
System.Transactions (4)
System\Transactions\Transaction.cs (4)
1490
CallContext
.LogicalSetData(CurrentTransactionProperty, contextKey);
1497
ContextKey key = (ContextKey)
CallContext
.LogicalGetData(CurrentTransactionProperty);
1509
CallContext
.LogicalSetData(CurrentTransactionProperty, null);
1517
ContextKey contextKey = (ContextKey)
CallContext
.LogicalGetData(CurrentTransactionProperty);
System.Web (29)
Compilation\BuildManager.cs (4)
1623
circularReferenceChecker =
CallContext
.GetData(CircularReferenceCheckerSlotName)
1629
CallContext
.SetData(CircularReferenceCheckerSlotName, circularReferenceChecker);
1925
directoryBatchCompilerChecker =
CallContext
.GetData(BatchCompilationSlotName)
1932
CallContext
.SetData(BatchCompilationSlotName, directoryBatchCompilerChecker);
Compilation\TimeStampChecker.cs (2)
23
TimeStampChecker tsc = (TimeStampChecker)System.Runtime.Remoting.Messaging.
CallContext
.GetData(
30
System.Runtime.Remoting.Messaging.
CallContext
.SetData(CallContextSlotName, tsc);
Hosting\ContextBase.cs (4)
18
return
CallContext
.HostContext;
23
CallContext
.HostContext = value;
30
Object oldContext =
CallContext
.HostContext;
32
CallContext
.HostContext = newContext;
Hosting\HostingEnvironment.cs (6)
1005
return
CallContext
.GetData(GetFixedMappingSlotName(virtualPath)) as string;
1017
CallContext
.SetData(GetFixedMappingSlotName(virtualPath), physicalPath);
1028
CallContext
.SetData(TemporaryVirtualPathProviderKey, _theHostingEnvironment._mapPathBasedVirtualPathProvider);
1038
CallContext
.SetData(GetFixedMappingSlotName(mapping.VirtualPath), null);
1042
CallContext
.SetData(TemporaryVirtualPathProviderKey, null);
1859
var tempVPP =
CallContext
.GetData(TemporaryVirtualPathProviderKey);
HttpContext.cs (3)
1940
System.Runtime.Remoting.Messaging.
CallContext
.LogicalSetData(SqlCacheDependency.SQL9_OUTPUT_CACHE_DEPENDENCY_COOKIE, _sqlDependencyCookie);
1947
System.Runtime.Remoting.Messaging.
CallContext
.LogicalSetData(SqlCacheDependency.SQL9_OUTPUT_CACHE_DEPENDENCY_COOKIE, null);
1958
System.Runtime.Remoting.Messaging.
CallContext
.LogicalSetData(SqlCacheDependency.SQL9_OUTPUT_CACHE_DEPENDENCY_COOKIE, value);
Management\TemplatedMailWebEventProvider.cs (3)
126
CallContext
.SetData(CurrentEventsName, info);
145
CallContext
.FreeNamedDataSlot(CurrentEventsName);
231
return (MailEventNotificationInfo)
CallContext
.GetData(CurrentEventsName);
Management\WebEvents.cs (3)
505
o =
CallContext
.GetData(WEBEVENT_RAISE_IN_PROGRESS);
594
CallContext
.SetData(WEBEVENT_RAISE_IN_PROGRESS, true);
624
CallContext
.FreeNamedDataSlot(WEBEVENT_RAISE_IN_PROGRESS);
ThreadContext.cs (2)
83
CallContext
.LogicalSetData("E2ETrace.ActivityID", g);
197
CallContext
.LogicalSetData("E2ETrace.ActivityID", g);
Util\AspCompat.cs (2)
182
CallContext
.SetData("AspCompat", mark);
186
get { return (AspCompatApplicationStep)
CallContext
.GetData("AspCompat"); }