System::Net::EndPoint::Create 方法

EndPoint::Create method

使用指定的套接字地址创建 EndPoint 类的新实例。

virtual System::SharedPtr<EndPoint> System::Net::EndPoint::Create(System::SharedPtr<SocketAddress> socketAddress)
ParameterType描述
socketAddressSystem::SharedPtr<SocketAddress>将在初始化新实例时使用的套接字地址。

ReturnValue

新创建的 EndPoint 类实例。

另见