NetPeerTcpBindingCollectionElement.cs 866 B

123456789101112131415161718
  1. //------------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------------------------
  4. namespace System.ServiceModel.Configuration
  5. {
  6. using System.Configuration;
  7. using System.ServiceModel;
  8. [ObsoleteAttribute ("PeerChannel feature is obsolete and will be removed in the future.", false)]
  9. public partial class NetPeerTcpBindingCollectionElement : StandardBindingCollectionElement<NetPeerTcpBinding, NetPeerTcpBindingElement>
  10. {
  11. internal static NetPeerTcpBindingCollectionElement GetBindingCollectionElement()
  12. {
  13. return (NetPeerTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetPeerTcpBindingCollectionElementName);
  14. }
  15. }
  16. }