343 references to CreateChannel
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
28serviceProxy = factory.CreateChannel();
CustomBindingTests.4.1.0.cs (2)
37serviceProxy = factory.CreateChannel(); 74serviceProxy = factory.CreateChannel();
Binding.Http.IntegrationTests (14)
BasicHttpBindingTests.4.0.0.cs (8)
77serviceProxy = factory.CreateChannel(); 121serviceProxy = factory.CreateChannel(); 179serviceProxy = factory.CreateChannel(); 215serviceProxy = factory.CreateChannel(); 255serviceProxy = factory.CreateChannel(); 299serviceProxy = factory.CreateChannel(); 347serviceProxy = factory.CreateChannel(); 389serviceProxy = factory.CreateChannel();
NetHttpBindingTests.4.0.0.cs (1)
30serviceProxy = factory.CreateChannel();
NetHttpsBindingTests.4.1.0.cs (3)
33serviceProxy = factory.CreateChannel(); 70serviceProxy = factory.CreateChannel(); 100serviceProxy = factory.CreateChannel();
OperationContextTests.cs (1)
42serviceProxy = factory.CreateChannel();
WSHttpBindingTests.cs (1)
28serviceProxy = factory.CreateChannel();
Binding.ReliableSession.IntegrationTests (15)
NetHttpBindingTests.cs (6)
39serviceProxy = factory.CreateChannel(); 78serviceProxy = factory.CreateChannel(); 149serviceProxy = factory.CreateChannel(); 227serviceProxy = factory.CreateChannel(); 308serviceProxy = factory.CreateChannel(); 381serviceProxy = factory.CreateChannel();
NetTcpBindingTests.cs (3)
34serviceProxy = factory.CreateChannel(); 72serviceProxy = factory.CreateChannel(); 111serviceProxy = factory.CreateChannel();
WSHttpBindingTests.cs (6)
39serviceProxy = factory.CreateChannel(); 78serviceProxy = factory.CreateChannel(); 149serviceProxy = factory.CreateChannel(); 227serviceProxy = factory.CreateChannel(); 308serviceProxy = factory.CreateChannel(); 381serviceProxy = factory.CreateChannel();
Binding.Tcp.IntegrationTests (10)
NetTcpBindingTests.4.0.0.cs (5)
28serviceProxy = factory.CreateChannel(); 61serviceProxy = factory.CreateChannel(); 99serviceProxy = factory.CreateChannel(); 140serviceProxy = factory.CreateChannel(); 182serviceProxy = factory.CreateChannel();
NetTcpBindingTests.4.1.0.cs (2)
29serviceProxy = factory.CreateChannel(); 65serviceProxy = factory.CreateChannel();
OperationContextAsyncFlowTests.cs (3)
29serviceProxy = factory.CreateChannel(); 64serviceProxy = factory.CreateChannel(); 115serviceProxy = factory.CreateChannel();
Binding.UDS.IntegrationTests (5)
UDSBindingTests.cs (5)
46serviceProxy = factory.CreateChannel(); 81channel = factory.CreateChannel(); 126var channel = factory.CreateChannel(); 161channel = factory.CreateChannel(); 196serviceProxy = factory.CreateChannel();
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
60serviceProxy = factory.CreateChannel(); 112serviceProxy = factory.CreateChannel(); 164serviceProxy = factory.CreateChannel();
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelShapeTests.4.0.0.cs (2)
151channel = factory.CreateChannel(); 180channel = factory.CreateChannel();
DuplexChannelWithSynchronizationContext.cs (4)
52serviceProxy = factory.CreateChannel(); 117serviceProxy = factory.CreateChannel(); 191serviceProxy = factory.CreateChannel(); 239serviceProxy = factory.CreateChannel();
Client.ClientBase.IntegrationTests (19)
ClientBaseTests.4.0.0.cs (7)
32serviceProxy = client.ChannelFactory.CreateChannel(); 79serviceProxy = client.ChannelFactory.CreateChannel(); 126serviceProxy = client.ChannelFactory.CreateChannel(); 169serviceProxy = client.ChannelFactory.CreateChannel(); 702serviceProxy = client.ChannelFactory.CreateChannel(); 737serviceProxy = client.ChannelFactory.CreateChannel(); 773serviceProxy = client.ChannelFactory.CreateChannel();
ClientBaseTests.4.1.0.cs (2)
27IWcfAspNetCompatibleService serviceProxy = factory.CreateChannel(); 71IWcfAspNetCompatibleService serviceProxy = factory.CreateChannel();
DuplexClientBaseTests.4.1.0.cs (2)
35proxy = duplexService.ChannelFactory.CreateChannel(); 79proxy = duplexService.ChannelFactory.CreateChannel();
SessionTests.cs (8)
25channel = factory.CreateChannel(); 58channel1 = channelFactory.CreateChannel(); 59channel2 = channelFactory.CreateChannel(); 106channel1 = factory.CreateChannel(); 128channel2 = factory.CreateChannel(); 152channel3 = factory.CreateChannel(); 176channel = factory.CreateChannel(); 515s_channel = factory.CreateChannel();
Client.ExpectedExceptions.IntegrationTests (22)
CallbackDebugBehaviorTests.cs (2)
50serviceProxy = factory.CreateChannel(); 76serviceProxy2 = factory2.CreateChannel();
CallbackErrorHandlerTests.cs (1)
31serviceProxy = factory.CreateChannel();
ExpectedExceptionTests.4.0.0.cs (6)
34serviceProxy = factory.CreateChannel(); 75serviceProxy = factory.CreateChannel(); 122serviceProxy = factory.CreateChannel(); 164serviceProxy = factory.CreateChannel(); 199serviceProxy = factory.CreateChannel(); 260serviceProxy = factory.CreateChannel();
ExpectedExceptionTests.4.1.0.cs (12)
35serviceProxy = factory.CreateChannel(); 72setupHostServiceProxy = setupHostFactory.CreateChannel(); 105serviceProxy = factory.CreateChannel(); 133serviceProxy = factory.CreateChannel(); 167serviceProxy = factory.CreateChannel(); 206serviceProxy = factory.CreateChannel(); 248serviceProxy = factory.CreateChannel(); 300serviceProxy = factory.CreateChannel(); 350serviceProxy = factory.CreateChannel(); 393serviceProxy = factory.CreateChannel(); 441serviceProxy = factory.CreateChannel(); 514serviceProxy = factory.CreateChannel();
ExpectedExceptionTests.4.1.1.cs (1)
37serviceProxy = factory.CreateChannel();
Client.TypedClient.IntegrationTests (11)
TypedProxyDuplexTests.4.1.0.cs (1)
37IWcfDuplexTaskReturnService serviceProxy = factory.CreateChannel();
TypedProxyTests.4.0.0.cs (9)
133serviceProxy = factory.CreateChannel(); 185serviceProxy = factory.CreateChannel(); 237channel = factory.CreateChannel(); 301channel = factory.CreateChannel(); 365channel = factory.CreateChannel(); 462serviceProxy = factory.CreateChannel(); 508serviceProxy = factory.CreateChannel(); 549serviceProxy = factory.CreateChannel(); 591serviceProxy = factory.CreateChannel();
TypedProxyTests.4.1.0.cs (1)
68serviceProxy = factory.CreateChannel();
Contract.Data.IntegrationTests (4)
DataContractTests.4.0.0.cs (1)
36serviceProxy = factory.CreateChannel();
DataContractTests.4.1.0.cs (2)
35serviceProxy = factory.CreateChannel(); 74serviceProxy = factory.CreateChannel();
DataContractTests.4.1.1.cs (1)
37client = factory.CreateChannel();
Contract.Fault.IntegrationTests (8)
FaultExceptionTests.4.0.0.cs (7)
30serviceProxy = factory.CreateChannel(); 64serviceProxy = factory.CreateChannel(); 98serviceProxy = factory.CreateChannel(); 135serviceProxy = factory.CreateChannel(); 172serviceProxy = factory.CreateChannel(); 209serviceProxy = factory.CreateChannel(); 242serviceProxy = factory.CreateChannel();
FaultExceptionTests.cs (1)
34serviceProxy = client.ChannelFactory.CreateChannel();
Contract.Message.IntegrationTests (7)
MessageContractCommon.4.1.0.cs (1)
50clientProxy = factory.CreateChannel();
MessageContractTests.4.4.0.cs (2)
27clientProxy = factory.CreateChannel(); 99clientProxy = factory.CreateChannel();
MessageContractTests.cs (3)
40proxy = factory.CreateChannel(); 61proxy = factory.CreateChannel(); 78proxy = factory.CreateChannel();
MessageTests.4.0.0.cs (1)
87serviceProxy = factory.CreateChannel();
Contract.Service.IntegrationTests (36)
ServiceContractTests.4.0.0.cs (10)
34serviceProxy = factory.CreateChannel(); 81serviceProxy = factory.CreateChannel(); 127serviceProxy = factory.CreateChannel(); 175serviceProxy = factory.CreateChannel(); 223serviceProxy = factory.CreateChannel(); 269serviceProxy = factory.CreateChannel(); 314serviceProxy = factory.CreateChannel(); 357serviceProxy = factory.CreateChannel(); 411serviceProxy = factory.CreateChannel(); 460serviceProxy = factory.CreateChannel();
ServiceContractTests.4.1.0.cs (21)
36serviceProxy = factory.CreateChannel(); 73serviceProxy = factory.CreateChannel(); 108serviceProxy = factory.CreateChannel(); 144serviceProxy = factory.CreateChannel(); 181serviceProxy = factory.CreateChannel(); 249serviceProxy = factory.CreateChannel(); 311serviceProxy = factory.CreateChannel(); 366serviceProxy = factory.CreateChannel(); 403serviceProxy = factory.CreateChannel(); 438serviceProxy = factory.CreateChannel(); 474serviceProxy = factory.CreateChannel(); 511serviceProxy = factory.CreateChannel(); 548serviceProxy = factory.CreateChannel(); 585serviceProxy = factory.CreateChannel(); 650serviceProxy = factory.CreateChannel(); 693serviceProxy1 = factory.CreateChannel(); 694serviceProxy2 = factory.CreateChannel(); 783serviceProxy1 = factory.CreateChannel(); 784serviceProxy2 = factory.CreateChannel(); 873serviceProxy1 = factory.CreateChannel(); 874serviceProxy2 = factory.CreateChannel();
ServiceKnownTypeTests.4.0.0.cs (5)
21IServiceKnownTypeTest_AttrOnMethod serviceProxy = factory.CreateChannel(); 35IServiceKnownTypeTest_AttrOnType serviceProxy = factory.CreateChannel(); 49IServiceKnownTypeTest_AttrOnMethod_Xml serviceProxy = factory.CreateChannel(); 63IServiceKnownTypeTest_AttrOnType_Xml serviceProxy = factory.CreateChannel(); 82IServiceKnownTypeTest_AttrOnType_Xml serviceProxy = factory.CreateChannel();
Contract.XmlSerializer.IntegrationTests (26)
XmlSerializerFormatSoapTest.cs (1)
93serviceProxy = factory.CreateChannel();
XmlSerializerFormatTest.4.0.0.cs (9)
23IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 36IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 49IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 74IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 87IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 103IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 123ILoginService serviceProxy = factory.CreateChannel(); 161IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 198ISameNamespaceWithIWcfServiceXmlGenerated serviceProxy = factory.CreateChannel();
XmlSerializerFormatTest.4.1.0.cs (3)
21IXmlMessageContarctTestService serviceProxy = factory.CreateChannel(); 48IXmlMessageContarctTestService serviceProxy = factory.CreateChannel(); 74IWcfServiceXml_OperationContext serviceProxy = client.ChannelFactory.CreateChannel();
XmlSerializerFormatTest.cs (13)
79serviceProxy = factory.CreateChannel(); 106serviceProxy = factory.CreateChannel(); 140serviceProxy1 = factory1.CreateChannel(); 171serviceProxy1 = factory1.CreateChannel(); 219serviceProxy1 = factory1.CreateChannel(); 267serviceProxy1 = factory1.CreateChannel(); 317serviceProxy1 = factory1.CreateChannel(); 319serviceProxy2 = factory2.CreateChannel(); 374serviceProxy1 = factory1.CreateChannel(); 376serviceProxy2 = factory2.CreateChannel(); 431serviceProxy1 = factory1.CreateChannel(); 433serviceProxy2 = factory2.CreateChannel(); 489serviceProxy1 = factory1.CreateChannel();
dotnet-svcutil.xmlserializer.IntegrationTests (26)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
93serviceProxy = factory.CreateChannel();
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (9)
23IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 36IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 49IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 74IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 87IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 103IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 123ILoginService serviceProxy = factory.CreateChannel(); 161IWcfServiceXmlGenerated serviceProxy = factory.CreateChannel(); 198ISameNamespaceWithIWcfServiceXmlGenerated serviceProxy = factory.CreateChannel();
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (3)
21IXmlMessageContarctTestService serviceProxy = factory.CreateChannel(); 48IXmlMessageContarctTestService serviceProxy = factory.CreateChannel(); 74IWcfServiceXml_OperationContext serviceProxy = client.ChannelFactory.CreateChannel();
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (13)
79serviceProxy = factory.CreateChannel(); 106serviceProxy = factory.CreateChannel(); 140serviceProxy1 = factory1.CreateChannel(); 171serviceProxy1 = factory1.CreateChannel(); 219serviceProxy1 = factory1.CreateChannel(); 267serviceProxy1 = factory1.CreateChannel(); 317serviceProxy1 = factory1.CreateChannel(); 319serviceProxy2 = factory2.CreateChannel(); 374serviceProxy1 = factory1.CreateChannel(); 376serviceProxy2 = factory2.CreateChannel(); 431serviceProxy1 = factory1.CreateChannel(); 433serviceProxy2 = factory2.CreateChannel(); 489serviceProxy1 = factory1.CreateChannel();
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
34serviceProxy = factory.CreateChannel(); 72serviceProxy = factory.CreateChannel();
TextEncodingTests.4.0.0.cs (1)
34serviceProxy = factory.CreateChannel();
TextEncodingTests.4.1.0.cs (2)
28serviceProxy = factory.CreateChannel(); 61channel = factory.CreateChannel();
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
33serviceProxy = factory.CreateChannel(); 69serviceProxy = factory.CreateChannel();
MessageVersionTests.cs (5)
33serviceProxy = factory.CreateChannel(); 69serviceProxy = factory.CreateChannel(); 105serviceProxy = factory.CreateChannel(); 141serviceProxy = factory.CreateChannel(); 177serviceProxy = factory.CreateChannel();
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
37client = channelFactory.CreateChannel(); 81serviceProxy = factory.CreateChannel();
Extensibility.WebSockets.IntegrationTests (14)
WebSocketTests.4.1.0.cs (14)
50client = channelFactory.CreateChannel(); 144client = channelFactory.CreateChannel(); 212client = channelFactory.CreateChannel(); 283client = channelFactory.CreateChannel(); 381client = channelFactory.CreateChannel(); 446client = channelFactory.CreateChannel(); 513client = channelFactory.CreateChannel(); 568client = channelFactory.CreateChannel(); 624client = channelFactory.CreateChannel(); 682client = channelFactory.CreateChannel(); 730duplexProxy = factory.CreateChannel(); 771duplexProxy = factory.CreateChannel(); 815proxy = factory.CreateChannel(); 856client = channelFactory.CreateChannel();
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
NamedPipeMetadataImporter.cs (1)
38IMetadataExchange proxy = factory.CreateChannel();
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
74serviceProxy = factory.CreateChannel(); 108IWcfService serviceProxy = factory.CreateChannel();
Security.TransportSecurity.IntegrationTests (56)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
39serviceProxy = factory.CreateChannel(); 100serviceProxy = factory.CreateChannel();
Https\ClientCredentialTypeTests.4.1.0.cs (3)
54serviceProxy = factory.CreateChannel(); 129serviceProxy = factory.CreateChannel(); 187serviceProxy = factory.CreateChannel();
Https\HttpsTests.4.1.0.cs (12)
47serviceProxy = factory.CreateChannel(); 84IWcfService serviceProxy = factory.CreateChannel(); 123IWcfService serviceProxy = factory.CreateChannel(); 162IWcfService serviceProxy = factory.CreateChannel(); 201IWcfService serviceProxy = factory.CreateChannel(); 251serviceProxy = factory.CreateChannel(); 293serviceProxy = factory.CreateChannel(); 334serviceProxy = factory.CreateChannel(); 381serviceProxy = factory.CreateChannel(); 430serviceProxy = factory.CreateChannel(); 492serviceProxy = factory.CreateChannel(); 556serviceProxy = factory.CreateChannel();
Https\HttpsTests.4.1.1.cs (4)
45serviceProxy = factory.CreateChannel(); 96serviceProxy = factory.CreateChannel(); 155serviceProxy = factory.CreateChannel(); 201serviceProxy = factory.CreateChannel();
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
82serviceProxy = factory.CreateChannel(); 141serviceProxy = factory.CreateChannel(); 194serviceProxy = factory.CreateChannel(); 243serviceProxy = factory.CreateChannel(); 287serviceProxy = factory.CreateChannel(); 344serviceProxy = factory.CreateChannel(); 394serviceProxy = factory.CreateChannel();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
72serviceProxy = factory.CreateChannel(); 121serviceProxy = factory.CreateChannel(); 165serviceProxy = factory.CreateChannel(); 205serviceProxy = factory.CreateChannel(); 260serviceProxy = factory.CreateChannel(); 308serviceProxy = factory.CreateChannel();
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
51serviceProxy = factory.CreateChannel(); 128serviceProxy = factory.CreateChannel(); 214serviceProxy = factory.CreateChannel();
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
45serviceProxy = factory.CreateChannel(); 97serviceProxy = factory.CreateChannel(); 140serviceProxy = factory.CreateChannel();
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
46serviceProxy = factory.CreateChannel(); 96serviceProxy = factory.CreateChannel(); 154serviceProxy = factory.CreateChannel(); 201serviceProxy = factory.CreateChannel(); 258serviceProxy = factory.CreateChannel();
Tcp\ClientCredentialTypeTests.OSX.cs (1)
72serviceProxy = factory.CreateChannel();
Tcp\IdentityTests.4.1.0.cs (1)
32IWcfService serviceProxy = factory.CreateChannel();
Tcp\IdentityTests.4.1.1.cs (1)
32IWcfService serviceProxy = factory.CreateChannel();
Tcp\StreamingTests.4.1.0.cs (8)
40serviceProxy = factory.CreateChannel(); 80serviceProxy = factory.CreateChannel(); 120serviceProxy = factory.CreateChannel(); 161serviceProxy = factory.CreateChannel(); 213serviceProxy = factory.CreateChannel(); 270serviceProxy = factory.CreateChannel(); 311serviceProxy = factory.CreateChannel(); 352serviceProxy = factory.CreateChannel();
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
242IRequestChannel channel = ChannelFactory.CreateChannel(); 281IRequestChannel channel = ChannelFactory.CreateChannel();
System.ServiceModel.Http.Tests (3)
ServiceModel\BasicHttpsBindingTest.cs (1)
78var channel = factory.CreateChannel();
ServiceModel\HttpIdentityTests.cs (2)
19var channel = factory.CreateChannel(); 31var channel = factory.CreateChannel();
System.ServiceModel.Primitives.Tests (36)
Channels\BehaviorExtensionTest.cs (2)
33IBehaviorExtensionServerInterface channel = factory.CreateChannel(); 66IBehaviorExtensionServerInterface2 channel = factory.CreateChannel();
Channels\CustomChannelTest.cs (12)
61ICustomChannelServiceInterface channel = factory.CreateChannel(); 155ICustomChannelServiceInterface channel = factory.CreateChannel(); 242ICustomChannelServiceInterface channel = factory.CreateChannel(); 293ICustomChannelServiceInterface channel = factory.CreateChannel(); 353ICustomChannelServiceInterface channel = factory.CreateChannel(); 430factory.CreateChannel(); 468Assert.Throws<InvalidOperationException>(() => factory.CreateChannel()); 516ICustomChannelServiceInterface channel = factory.CreateChannel(); 567ICustomChannelServiceInterface channel = factory.CreateChannel(); 618ICustomChannelServiceInterface channel = factory.CreateChannel(); 670ICustomChannelServiceInterface channel = factory.CreateChannel(); 717ICustomChannelServiceInterface channel = factory.CreateChannel();
Description\OperationBehaviorTest.cs (1)
31proxy = duplexService.ChannelFactory.CreateChannel();
Description\OperationContractAttributeTest.cs (2)
32channelFactory.CreateChannel(); 45channelFactory.CreateChannel();
ServiceModel\ChannelFactoryTest.cs (7)
38channel = factory.CreateChannel(); 42channel2 = factory2.CreateChannel(); 95channel = factory.CreateChannel(); 99channel2 = factory2.CreateChannel(); 151channel = factory.CreateChannel(); 194IWcfServiceGenerated channel = factory.CreateChannel(); 254IWcfService serviceProxy = factory.CreateChannel();
ServiceModel\DuplexChannelFactoryTest.cs (10)
31factory.CreateChannel(); 75factory.CreateChannel(); 90factory.CreateChannel(); 106factory.CreateChannel(); 135factory.CreateChannel(); 148IWcfDuplexService proxy = factory.CreateChannel(); 193factory.CreateChannel(); 204factory.CreateChannel(); 228channel = factory.CreateChannel(); 232channel2 = factory2.CreateChannel();
ServiceModel\MessageContractTest.4.4.0.cs (2)
196IMessageContractRoundTrip_4_4_0 channel = factory.CreateChannel(); 278IMessageContractRoundTrip_4_4_0 channel = factory.CreateChannel();