[Serializable] |
ctor #1 | Overloaded:.ctor(long address, int port) Initializes a new instance of the IPEndPoint class with the specified address and port number. |
ctor #2 | Overloaded:.ctor(IPAddress address, int port) Initializes a new instance of the IPEndPoint class with the specified address and port number. |
MaxPort | Specifies the maximum value that can be assigned to the IPEndPoint.Port property. This field is read-only. |
MinPort | Specifies the minimum value that can be assigned to the IPEndPoint.Port property. This field is read-only. |
Address | Read-write Gets or sets the IP address of the endpoint. |
AddressFamily | Read-only Overridden: Gets the Internet Protocol (IP) address family. |
Port | Read-write Gets or sets the TCP port number of the endpoint. |
Create | Overridden: Creates an endpoint from a socket address. |
Equals | Overridden: |
GetHashCode | Overridden: |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
Serialize | Overridden: Serializes endpoint information into a SocketAddress instance. |
ToString | Overridden: Returns the IP address and port number for the specified endpoint. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
address
port
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | port is less than IPEndPoint.MinPort. -or- port is greater than IPEndPoint.MaxPort. |
address
port
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | port is less than IPEndPoint.MinPort. -or- port is greater than IPEndPoint.MaxPort. |
ArgumentNullException | address is null. |
public const int MaxPort;
|
public const int MinPort;
|
public IPAddress Address {get; set;}
|
public override AddressFamily AddressFamily {get;}
|
public int Port {get; set;}
|
public override EndPoint Create( |
socketAddress
comparand
~IPEndPoint(); |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override SocketAddress Serialize(); |
public override string ToString(); |