| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // System.Net.EndPoint.cs
- //
- // Author:
- // Dick Porter ([email protected])
- //
- // (C) Ximian, Inc. http://www.ximian.com
- //
- using System.Net.Sockets;
- namespace System.Net {
- [Serializable]
- public abstract class EndPoint {
- // NB: These methods really do nothing but throw
- // NotSupportedException
-
- public virtual AddressFamily AddressFamily {
- get {
- throw new NotSupportedException();
- }
- }
-
- public virtual EndPoint Create (SocketAddress address)
- {
- throw new NotSupportedException();
- }
- public virtual SocketAddress Serialize ()
- {
- throw new NotSupportedException();
- }
- protected EndPoint ()
- {
- }
- }
- }
|