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