3 references to ShouldUseAsyncLocalContext
System.ServiceModel (3)
System\ServiceModel\OperationContext.cs (2)
98
return
ShouldUseAsyncLocalContext
? OperationContext.currentAsyncLocalContext.Value : CurrentHolder.Context;
103
if (
ShouldUseAsyncLocalContext
&& value != null && value.isAsyncFlowEnabled)
System\ServiceModel\OperationContextScope.cs (1)
65
bool isAsyncFlowEnabled = OperationContext.
ShouldUseAsyncLocalContext
;