EndpointExToEndpoint Method |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static Endpoint ToEndpoint(
this IPEndPoint ep,
TransportType protocol
)
<ExtensionAttribute>
Public Shared Function ToEndpoint (
ep As IPEndPoint,
protocol As TransportType
) As Endpoint
public:
[ExtensionAttribute]
static Endpoint^ ToEndpoint(
IPEndPoint^ ep,
TransportType protocol
)
[<ExtensionAttribute>]
static member ToEndpoint :
ep : IPEndPoint *
protocol : TransportType -> Endpoint
Parameters
- ep
- Type: System.NetIPEndPoint
- protocol
- Type: Ozeki.NetworkTransportType
Return Value
Type:
EndpointUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPEndPoint. 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).
See Also