2 references to ThrowingOnCloseBindingElement
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ChannelFactoryTest.cs (1)
309
customBinding.Elements.Insert(0, new
ThrowingOnCloseBindingElement
(new CommunicationException(nameof(ChannelFactory_AsyncDisposable_NoThrow)), false));
ServiceModel\ClientBaseTest.cs (1)
199
customBinding.Elements.Insert(0, new
ThrowingOnCloseBindingElement
(new CommunicationException(nameof(ClientBaseDisposeAsyncNoThrow)), channelThrows));