9 implementations of Close
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannel.cs (1)
299void ICommunicationObject.Close()
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
546void ICommunicationObject.Close()
System.ServiceModel.Primitives (7)
System\ServiceModel\Channels\CommunicationObject.cs (1)
212public void Close()
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
578void ICommunicationObject.Close()
System\ServiceModel\ClientBase.cs (2)
336public void Close() 1078void ICommunicationObject.Close()
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
1408public void Close()
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
195public void Close() 357public void Close()
253 references to Close
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
39((ICommunicationObject)serviceProxy).Close();
CustomBindingTests.4.1.0.cs (2)
46((ICommunicationObject)serviceProxy).Close(); 85((ICommunicationObject)serviceProxy).Close();
Binding.Http.IntegrationTests (14)
BasicHttpBindingTests.4.0.0.cs (9)
47((ICommunicationObject)serviceProxy).Close(); 87((ICommunicationObject)serviceProxy).Close(); 132((ICommunicationObject)serviceProxy).Close(); 189((ICommunicationObject)serviceProxy).Close(); 227((ICommunicationObject)serviceProxy).Close(); 274((ICommunicationObject)serviceProxy).Close(); 318((ICommunicationObject)serviceProxy).Close(); 357((ICommunicationObject)serviceProxy).Close(); 397((ICommunicationObject)serviceProxy).Close();
NetHttpBindingTests.4.0.0.cs (1)
40((ICommunicationObject)serviceProxy).Close();
NetHttpsBindingTests.4.1.0.cs (2)
42((ICommunicationObject)serviceProxy).Close(); 109((ICommunicationObject)serviceProxy).Close();
OperationContextTests.cs (1)
53((IClientChannel)serviceProxy).Close();
WSHttpBindingTests.cs (1)
38((ICommunicationObject)serviceProxy).Close();
Binding.ReliableSession.IntegrationTests (19)
NetHttpBindingTests.cs (8)
46((IClientChannel)serviceProxy).Close(); 48((ICommunicationObject)serviceProxy).Close(); 83((IClientChannel)serviceProxy).Close(); 85((ICommunicationObject)serviceProxy).Close(); 166((IClientChannel)serviceProxy).Close(); 168((ICommunicationObject)serviceProxy).Close(); 336((ICommunicationObject)serviceProxy).Close(); 389((ICommunicationObject)serviceProxy).Close();
NetTcpBindingTests.cs (3)
41((IClientChannel)serviceProxy).Close(); 77((IClientChannel)serviceProxy).Close(); 117((IClientChannel)serviceProxy).Close();
WSHttpBindingTests.cs (8)
46((IClientChannel)serviceProxy).Close(); 48((ICommunicationObject)serviceProxy).Close(); 83((IClientChannel)serviceProxy).Close(); 85((ICommunicationObject)serviceProxy).Close(); 166((IClientChannel)serviceProxy).Close(); 168((ICommunicationObject)serviceProxy).Close(); 336((ICommunicationObject)serviceProxy).Close(); 389((ICommunicationObject)serviceProxy).Close();
Binding.Tcp.IntegrationTests (8)
NetTcpBindingTests.4.0.0.cs (3)
37((ICommunicationObject)serviceProxy).Close(); 75((ICommunicationObject)serviceProxy).Close(); 112((ICommunicationObject)serviceProxy).Close();
NetTcpBindingTests.4.1.0.cs (2)
39((ICommunicationObject)serviceProxy).Close(); 76((ICommunicationObject)serviceProxy).Close();
OperationContextAsyncFlowTests.cs (3)
40((IClientChannel)serviceProxy).Close(); 86((IClientChannel)serviceProxy).Close(); 128((ICommunicationObject)serviceProxy).Close();
Binding.UDS.IntegrationTests (5)
ServiceHelper.cs (1)
102comObj.Close();
UDSBindingTests.cs (4)
50((IChannel)serviceProxy).Close(); 89((IChannel)channel).Close(); 136((IChannel)channel).Close(); 169((IChannel)channel).Close();
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
68((ICommunicationObject)serviceProxy).Close(); 119((ICommunicationObject)serviceProxy).Close(); 170((ICommunicationObject)serviceProxy).Close();
Client.ChannelLayer.IntegrationTests (21)
DuplexChannelShapeTests.4.0.0.cs (4)
68channel.Close(); 69factory.Close(); 160((ICommunicationObject)channel).Close(); 189((ICommunicationObject)channel).Close();
DuplexChannelShapeTests.4.1.0.cs (4)
68channel.Close(); 69factory.Close(); 126channel.Close(); 127factory.Close();
DuplexChannelWithSynchronizationContext.cs (7)
66((ICommunicationObject)serviceProxy).Close(); 67((ICommunicationObject)factory).Close(); 130((ICommunicationObject)serviceProxy).Close(); 131((ICommunicationObject)factory).Close(); 199((ICommunicationObject)serviceProxy).Close(); 200((ICommunicationObject)factory).Close(); 245((ICommunicationObject)serviceProxy).Close();
RequestReplyChannelShapeTests.4.0.0.cs (4)
63channel.Close(); 64factory.Close(); 118channel.Close(); 119factory.Close();
RequestReplyChannelShapeTests.4.1.0.cs (2)
60channel.Close(); 61factory.Close();
Client.ClientBase.IntegrationTests (31)
ChannelBaseTests.4.0.0.cs (4)
45((ICommunicationObject)client).Close(); 46((ICommunicationObject)serviceProxy).Close(); 82((ICommunicationObject)client).Close(); 189((ICommunicationObject)client).Close();
ClientBaseTests.4.0.0.cs (17)
46((ICommunicationObject)client).Close(); 47((ICommunicationObject)serviceProxy).Close(); 93((ICommunicationObject)client).Close(); 94((ICommunicationObject)serviceProxy).Close(); 141((ICommunicationObject)client).Close(); 142((ICommunicationObject)serviceProxy).Close(); 179((ICommunicationObject)client).Close(); 180((ICommunicationObject)serviceProxy).Close(); 252((ICommunicationObject)client).Close(); 557((ICommunicationObject)client).Close(); 661((ICommunicationObject)client).Close(); 711((ICommunicationObject)client).Close(); 712((ICommunicationObject)serviceProxy).Close(); 746((ICommunicationObject)client).Close(); 747((ICommunicationObject)serviceProxy).Close(); 802((ICommunicationObject)client).Close(); 803((ICommunicationObject)serviceProxy).Close();
ClientBaseTests.4.1.0.cs (2)
48((ICommunicationObject)serviceProxy).Close(); 101((ICommunicationObject)serviceProxy).Close();
ClientBaseTests.4.4.0.cs (1)
44((ICommunicationObject)client).Close();
DuplexClientBaseTests.4.1.0.cs (3)
46((ICommunicationObject)duplexService).Close(); 90((ICommunicationObject)duplexService).Close(); 91((ICommunicationObject)proxy).Close();
MessageInspectorTests.4.4.0.cs (3)
60((ICommunicationObject)mi_ClientBase_ClientAuth1).Close(); 61((ICommunicationObject)mi_ClientBase_ClientAuth2).Close(); 105((ICommunicationObject)mi_ClientBase_ClientAuth).Close();
SessionTests.cs (1)
40((ICommunicationObject)channel).Close();
Client.ExpectedExceptions.IntegrationTests (4)
ExpectedExceptionTests.4.0.0.cs (1)
384((ICommunicationObject)serviceProxy).Close();
ExpectedExceptionTests.4.1.0.cs (2)
76((ICommunicationObject)setupHostServiceProxy).Close(); 636((ICommunicationObject)serviceProxy).Close();
ExpectedExceptionTests.4.1.1.cs (1)
45((ICommunicationObject)serviceProxy).Close();
Client.TypedClient.IntegrationTests (9)
TypedProxyTests.4.0.0.cs (8)
143((ICommunicationObject)serviceProxy).Close(); 206((ICommunicationObject)serviceProxy).Close(); 267channel.Close(); 331channel.Close(); 396channel.Close(); 486((ICommunicationObject)serviceProxy).Close(); 527((ICommunicationObject)serviceProxy).Close(); 560((ICommunicationObject)serviceProxy).Close();
TypedProxyTests.4.1.0.cs (1)
79((ICommunicationObject)serviceProxy).Close();
Contract.Data.IntegrationTests (4)
DataContractTests.4.0.0.cs (1)
51((ICommunicationObject)serviceProxy).Close();
DataContractTests.4.1.0.cs (2)
42((ICommunicationObject)serviceProxy).Close(); 80((ICommunicationObject)serviceProxy).Close();
DataContractTests.4.1.1.cs (1)
47((ICommunicationObject)client).Close();
Contract.Fault.IntegrationTests (5)
FaultExceptionTests.4.0.0.cs (5)
111((ICommunicationObject)serviceProxy).Close(); 143((ICommunicationObject)serviceProxy).Close(); 180((ICommunicationObject)serviceProxy).Close(); 217((ICommunicationObject)serviceProxy).Close(); 258((ICommunicationObject)serviceProxy).Close();
Contract.Message.IntegrationTests (5)
MessageContractTests.4.4.0.cs (2)
60((ICommunicationObject)clientProxy).Close(); 117((ICommunicationObject)clientProxy).Close();
MessageTests.4.0.0.cs (3)
55channel.Close(); 56factory.Close(); 97((ICommunicationObject)serviceProxy).Close();
Contract.Service.IntegrationTests (25)
ServiceContractTests.4.0.0.cs (9)
53((ICommunicationObject)serviceProxy).Close(); 101((ICommunicationObject)serviceProxy).Close(); 147((ICommunicationObject)serviceProxy).Close(); 195((ICommunicationObject)serviceProxy).Close(); 241((ICommunicationObject)serviceProxy).Close(); 279((ICommunicationObject)serviceProxy).Close(); 318((ICommunicationObject)serviceProxy).Close(); 371((ICommunicationObject)serviceProxy).Close(); 413((ICommunicationObject)serviceProxy).Close(); // force proxy closed before close factory
ServiceContractTests.4.1.0.cs (15)
47((ICommunicationObject)serviceProxy).Close(); 83((ICommunicationObject)serviceProxy).Close(); 118((ICommunicationObject)serviceProxy).Close(); 155((ICommunicationObject)serviceProxy).Close(); 192((ICommunicationObject)serviceProxy).Close(); 284((ICommunicationObject)serviceProxy).Close(); 340((ICommunicationObject)serviceProxy).Close(); 377((ICommunicationObject)serviceProxy).Close(); 413((ICommunicationObject)serviceProxy).Close(); 448((ICommunicationObject)serviceProxy).Close(); 485((ICommunicationObject)serviceProxy).Close(); 522((ICommunicationObject)serviceProxy).Close(); 559((ICommunicationObject)serviceProxy).Close(); 596((ICommunicationObject)serviceProxy).Close(); 660((ICommunicationObject)serviceProxy).Close();
ServiceKnownTypeTests.4.0.0.cs (1)
121((ICommunicationObject)serviceProxy).Close();
Contract.XmlSerializer.IntegrationTests (5)
XmlSerializerFormatSoapTest.cs (1)
98((ICommunicationObject)serviceProxy).Close();
XmlSerializerFormatTest.4.0.0.cs (3)
140((ICommunicationObject)serviceProxy).Close(); 177((ICommunicationObject)serviceProxy).Close(); 209((ICommunicationObject)serviceProxy).Close();
XmlSerializerFormatTest.4.1.0.cs (1)
100((ICommunicationObject)serviceProxy).Close();
dotnet-svcutil.xmlserializer.IntegrationTests (5)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
98((ICommunicationObject)serviceProxy).Close();
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (3)
140((ICommunicationObject)serviceProxy).Close(); 177((ICommunicationObject)serviceProxy).Close(); 209((ICommunicationObject)serviceProxy).Close();
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (1)
100((ICommunicationObject)serviceProxy).Close();
Encoding.Encoders.IntegrationTests (4)
BinaryEncodingTests.4.0.0.cs (2)
44((ICommunicationObject)serviceProxy).Close(); 83((ICommunicationObject)serviceProxy).Close();
TextEncodingTests.4.0.0.cs (1)
44((ICommunicationObject)serviceProxy).Close();
TextEncodingTests.4.1.0.cs (1)
37((ICommunicationObject)serviceProxy).Close();
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
43((ICommunicationObject)serviceProxy).Close(); 79((ICommunicationObject)serviceProxy).Close();
MessageVersionTests.cs (5)
43((ICommunicationObject)serviceProxy).Close(); 79((ICommunicationObject)serviceProxy).Close(); 115((ICommunicationObject)serviceProxy).Close(); 151((ICommunicationObject)serviceProxy).Close(); 187((ICommunicationObject)serviceProxy).Close();
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
49((ICommunicationObject)client).Close(); 123((ICommunicationObject)serviceProxy).Close();
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
59((ICommunicationObject)serviceProxy).Close();
Extensibility.WebSockets.IntegrationTests (14)
WebSocketTests.4.1.0.cs (14)
102((ICommunicationObject)client).Close(); 170((ICommunicationObject)client).Close(); 238((ICommunicationObject)client).Close(); 334((ICommunicationObject)client).Close(); 405((ICommunicationObject)client).Close(); 471((ICommunicationObject)client).Close(); 525((ICommunicationObject)client).Close(); 579((ICommunicationObject)client).Close(); 634((ICommunicationObject)client).Close(); 691((ICommunicationObject)client).Close(); 731((ICommunicationObject)duplexProxy).Close(); 772((ICommunicationObject)duplexProxy).Close(); 816((ICommunicationObject)proxy).Close(); 854((ICommunicationObject)client).Close();
Infrastructure.Common (1)
ServiceUtilHelper.cs (1)
433comObj.Close();
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
84((ICommunicationObject)serviceProxy).Close(); 197comObj.Close();
Security.TransportSecurity.IntegrationTests (48)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
68((ICommunicationObject)serviceProxy).Close(); 131((ICommunicationObject)serviceProxy).Close();
Https\ClientCredentialTypeTests.4.1.0.cs (1)
87((ICommunicationObject)serviceProxy).Close();
Https\HttpsTests.4.1.0.cs (8)
57((ICommunicationObject)serviceProxy).Close(); 261((ICommunicationObject)serviceProxy).Close(); 302((ICommunicationObject)serviceProxy).Close(); 340((ICommunicationObject)serviceProxy).Close(); 390((ICommunicationObject)serviceProxy).Close(); 441((ICommunicationObject)serviceProxy).Close(); 500((ICommunicationObject)serviceProxy).Close(); 564((ICommunicationObject)serviceProxy).Close();
Https\HttpsTests.4.1.1.cs (4)
54((ICommunicationObject)serviceProxy).Close(); 115((ICommunicationObject)serviceProxy).Close(); 163((ICommunicationObject)serviceProxy).Close(); 208((ICommunicationObject)serviceProxy).Close();
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
97((ICommunicationObject)serviceProxy).Close(); 148((ICommunicationObject)serviceProxy).Close(); 200((ICommunicationObject)serviceProxy).Close(); 248((ICommunicationObject)serviceProxy).Close(); 292((ICommunicationObject)serviceProxy).Close(); 348((ICommunicationObject)serviceProxy).Close(); 398((ICommunicationObject)serviceProxy).Close();
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
82((ICommunicationObject)serviceProxy).Close(); 131((ICommunicationObject)serviceProxy).Close(); 176((ICommunicationObject)serviceProxy).Close(); 217((ICommunicationObject)serviceProxy).Close(); 272((ICommunicationObject)serviceProxy).Close(); 319((ICommunicationObject)serviceProxy).Close();
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
58((ICommunicationObject)serviceProxy).Close(); 134((ICommunicationObject)serviceProxy).Close(); 220((ICommunicationObject)serviceProxy).Close();
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
54((ICommunicationObject)serviceProxy).Close(); 107((ICommunicationObject)serviceProxy).Close(); 149((ICommunicationObject)serviceProxy).Close();
Tcp\ClientCredentialTypeTests.4.1.1.cs (5)
54((ICommunicationObject)serviceProxy).Close(); 161((ICommunicationObject)serviceProxy).Close(); 208((ICommunicationObject)serviceProxy).Close(); 267((ICommunicationObject)serviceProxy).Close(); 268((ICommunicationObject)factory).Close();
Tcp\ClientCredentialTypeTests.OSX.cs (1)
81((ICommunicationObject)serviceProxy).Close();
Tcp\StreamingTests.4.1.0.cs (8)
51((ICommunicationObject)serviceProxy).Close(); 92((ICommunicationObject)serviceProxy).Close(); 134((ICommunicationObject)serviceProxy).Close(); 185((ICommunicationObject)serviceProxy).Close(); 235((ICommunicationObject)serviceProxy).Close(); 286((ICommunicationObject)serviceProxy).Close(); 328((ICommunicationObject)serviceProxy).Close(); 370((ICommunicationObject)serviceProxy).Close();
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannel.cs (1)
301RequestChannel.Close();
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
306channel.Close();
System.ServiceModel.Primitives (2)
System\ServiceModel\ClientBase.cs (1)
1080((ICommunicationObject)_channel).Close();
System\ServiceModel\Dispatcher\ErrorHandlingReceiver.cs (1)
26_binder.Channel.Close();
System.ServiceModel.Primitives.Tests (4)
Channels\BehaviorExtensionTest.cs (2)
41((IClientChannel)channel).Close(); 74((IClientChannel)channel).Close();
Description\OperationBehaviorTest.cs (2)
40((ICommunicationObject)proxy).Close(); 41((ICommunicationObject)duplexService).Close();