4 references to DisableOperationContextAsyncFlow
System.ServiceModel (4)
System\ServiceModel\OperationContext.cs (1)
132return !ServiceModelAppSettings.DisableOperationContextAsyncFlow && CurrentHolder.Context == null && OperationContext.currentAsyncLocalContext.Value != null && OperationContext.currentAsyncLocalContext.Value.isAsyncFlowEnabled;
System\ServiceModel\OperationContextScope.cs (3)
38return ServiceModelAppSettings.DisableOperationContextAsyncFlow ? legacyCurrentScope : currentScope.Value; 43if (ServiceModelAppSettings.DisableOperationContextAsyncFlow) 80if (ServiceModelAppSettings.DisableOperationContextAsyncFlow && this.thread != Thread.CurrentThread)