Gets an IPEndPoint given a valid Uri instance and port.
Namespace: Couchbase.UtilsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)

Parameters
- uri
- Type: System.Uri
The Uri to use to get the IPEndPoint
- port
- Type: System.Int32
The network port to use.
Return Value
Type: IPEndPointAn IPEndPoint reference.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Uri. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).