Parses HostEndPoint from the specified string.

C# | Visual Basic | Visual C++ | F# |
public static HostEndPoint Parse( string value, int defaultPort )
Public Shared Function Parse ( value As String, defaultPort As Integer ) As HostEndPoint
public: static HostEndPoint^ Parse( String^ value, int defaultPort )
static member Parse : value : string * defaultPort : int -> HostEndPoint

HostEndPoint
Returns parsed HostEndPoint value.
Returns parsed HostEndPoint value.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when value is null. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119