PeerEndPoint 생성자

정의

PeerEndPoint 클래스의 새 인스턴스를 생성합니다.

오버로드

PeerEndPoint()

PeerEndPoint 클래스의 새 인스턴스를 생성합니다.

PeerEndPoint(IPEndPoint)

PeerEndPoint에 포함된 피어 연결 엔드포인트를 사용하여 IPEndPoint 클래스의 새 인스턴스를 초기화합니다.

PeerEndPoint(IPEndPoint, String)

PeerEndPoint에 포함된 피어 연결 엔드포인트 및 endPointName을 지정하는 문자열을 사용하여 IPEndPoint 클래스의 새 인스턴스를 초기화합니다.

PeerEndPoint(SerializationInfo, StreamingContext)

serialization에 필요한 관련 매개 변수를 사용하여 새 PeerEndPoint 인스턴스를 초기화합니다.

설명

이 생성자는 개발자의 IP 주소를 이미 아는 경우에 제공 됩니다는 PeerEndPoint 연락 하고자 합니다.

명시적 생성 하려면이 생성자를 사용 하 여 PeerEndPoint 인스턴스 생성을 용이 하 게 하는 Peer 피어 협업 인프라를 사용 하는 IP 주소로 식별 된 피어와 상호 작용에 사용할 수 있는 클래스 인스턴스.

PeerEndPoint()

PeerEndPoint 클래스의 새 인스턴스를 생성합니다.

public:
 PeerEndPoint();
public PeerEndPoint ();
Public Sub New ()

적용 대상

PeerEndPoint(IPEndPoint)

PeerEndPoint에 포함된 피어 연결 엔드포인트를 사용하여 IPEndPoint 클래스의 새 인스턴스를 초기화합니다.

public:
 PeerEndPoint(System::Net::IPEndPoint ^ endPoint);
public PeerEndPoint (System.Net.IPEndPoint endPoint);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Net.IPEndPoint -> System.Net.PeerToPeer.Collaboration.PeerEndPoint
Public Sub New (endPoint As IPEndPoint)

매개 변수

endPoint
IPEndPoint

피어와 연결된 엔드포인트입니다.

추가 정보

적용 대상

PeerEndPoint(IPEndPoint, String)

PeerEndPoint에 포함된 피어 연결 엔드포인트 및 endPointName을 지정하는 문자열을 사용하여 IPEndPoint 클래스의 새 인스턴스를 초기화합니다.

public:
 PeerEndPoint(System::Net::IPEndPoint ^ endPoint, System::String ^ endPointName);
public PeerEndPoint (System.Net.IPEndPoint endPoint, string endPointName);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Net.IPEndPoint * string -> System.Net.PeerToPeer.Collaboration.PeerEndPoint
Public Sub New (endPoint As IPEndPoint, endPointName As String)

매개 변수

endPoint
IPEndPoint

피어와 연결된 엔드포인트입니다.

endPointName
String

PeerEndPoint와 연결된 이름을 지정합니다.

예외

endPoint 인수에 null이 지정된 경우

지정된 endPoint가 올바른 IPv6 엔드포인트가 아닌 경우

적용 대상

PeerEndPoint(SerializationInfo, StreamingContext)

serialization에 필요한 관련 매개 변수를 사용하여 새 PeerEndPoint 인스턴스를 초기화합니다.

protected:
 PeerEndPoint(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected PeerEndPoint (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.PeerToPeer.Collaboration.PeerEndPoint : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.Collaboration.PeerEndPoint
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

매개 변수

serializationInfo
SerializationInfo

SerializationInfo와 연결된 PeerEndPoint입니다.

streamingContext
StreamingContext

PeerEndPoint와 연결된 serialization 대상입니다.

적용 대상