22 references to NotAllowed
System.ServiceModel.Primitives (13)
System\ServiceModel\Channels\TransactionChannel.cs (1)
93if (option == TransactionFlowOption.NotAllowed)
System\ServiceModel\Channels\TransactionChannelFactory.cs (1)
67return TransactionFlowOption.NotAllowed;
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (9)
37_issuedTokens = transactions ? TransactionFlowOption.Allowed : TransactionFlowOption.NotAllowed; 70_issuedTokens = value ? TransactionFlowOption.Allowed : TransactionFlowOption.NotAllowed; 116if (_issuedTokens != TransactionFlowOption.NotAllowed) 128if (option != TransactionFlowOption.NotAllowed) 139if (_issuedTokens != TransactionFlowOption.NotAllowed) 154if (parameter.Transactions != TransactionFlowOption.NotAllowed) 210if (_issuedTokens == TransactionFlowOption.NotAllowed) 261if (Transactions || (IssuedTokens != TransactionFlowOption.NotAllowed)) 276if (IssuedTokens != TransactionFlowOption.NotAllowed)
System\ServiceModel\Channels\TransactionFlowDefaults.cs (1)
9internal const TransactionFlowOption IssuedTokens = TransactionFlowOption.NotAllowed;
System\ServiceModel\TransactionFlowOption.cs (1)
18return option == TransactionFlowOption.NotAllowed ||
System.ServiceModel.Primitives.Tests (9)
Channels\TransactionFlowBindingElementTest.cs (9)
342Assert.Equal(0, (int)TransactionFlowOption.NotAllowed); 350Assert.NotEqual(TransactionFlowOption.NotAllowed, TransactionFlowOption.Allowed); 351Assert.NotEqual(TransactionFlowOption.NotAllowed, TransactionFlowOption.Mandatory); 367TransactionFlowAttribute attr = new TransactionFlowAttribute(TransactionFlowOption.NotAllowed); 368Assert.Equal(TransactionFlowOption.NotAllowed, attr.Transactions); 385[InlineData(TransactionFlowOption.NotAllowed)] 425TransactionFlowAttribute attr = new TransactionFlowAttribute(TransactionFlowOption.NotAllowed); 427Assert.Equal(TransactionFlowOption.NotAllowed, attr.Transactions); 428Assert.Equal(TransactionFlowOption.NotAllowed, attr.Transactions);