PeerName 클래스
정의
public ref class PeerName : IEquatable<System::Net::PeerToPeer::PeerName ^>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class PeerName : IEquatable<System.Net.PeerToPeer.PeerName>, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type PeerName = class
interface ISerializable
interface IEquatable<PeerName>
Public Class PeerName
Implements IEquatable(Of PeerName), ISerializable
- 상속
-
PeerName
- 특성
- 구현
생성자
PeerName(SerializationInfo, StreamingContext) |
PeerName을 serialize하는 데 필요한 데이터로 SerializationInfo 개체를 채웁니다.Populates a SerializationInfo object with the data needed to serialize the PeerName. |
PeerName(String) |
제공된 정규화된 피어 이름 String 값을 사용하여 형식 PeerName의 새 개체를 초기화합니다.Initializes a new object of type PeerName with the supplied fully qualified peer name String value. |
PeerName(String, PeerNameType) |
PeerName 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the PeerName class. |
속성
Authority |
이 Authority 개체에서 사용하는 PeerName를 지정하는 문자열을 반환합니다.Returns a string that specifies the Authority used by this PeerName object. |
Classifier |
피어 투 피어 PeerName의 분류자를 포함하는 문자열을 반환합니다.Returns a string that contains the classifier for a peer-to-peer PeerName. |
IsSecured |
보안된 피어 이름인지 여부를 지정하는 부울 값을 가져옵니다.Gets a Boolean value that specifies whether this is a secured peer name. |
PeerHostName |
피어 투 피어 호스트의 이름을 가져옵니다.Gets the name of the peer-to-peer host. 이 이름은 둘 다 식별자라는 점에서 PeerName과 동일한 PeerHostName을 DNS로 인코딩한 버전입니다.This is a DNS-encoded version of the PeerName which is equivalent to a PeerHostName in that they are both identifiers. 시각적 표현에만 차이가 있고 나머지는 동일합니다.The difference between the two is visual representation. |
메서드
CreateFromPeerHostName(String) |
지정된 피어 호스트 이름을 사용하여 특정 PeerHostName 개체의 새 인스턴스를 만듭니다.Creates a new instance of the specified PeerHostName object with the specified peer host name. |
CreateRelativePeerName(PeerName, String) |
제공된 PeerName 개체에 정의되는 Classifier 필드를 지정된 분류자 문자열 값으로 바꾸어 새 PeerName을 만듭니다.Creates a new PeerName by replacing the Classifier field defined on the supplied PeerName object with the specified classifier string value. |
Equals(Object) |
이 PeerName의 콘텐츠가 다른 개체의 콘텐츠와 같은지 여부를 확인합니다.Determines whether the content of this PeerName is equal to the content of another object. |
Equals(PeerName) |
대/소문자를 구분하여 현재 PeerName과 지정된 피어 이름을 비교합니다.Performs a case-sensitive comparison of the current PeerName and the specified peer name. |
GetHashCode() |
GetHashCode() 메서드를 재정의합니다.Overrides the GetHashCode() method. |
GetObjectData(SerializationInfo, StreamingContext) |
PeerName을 serialize하는 데 필요한 데이터로 serialization 정보 개체를 채웁니다.Populates a serialization information object with the data needed to serialize the PeerName. |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 PeerName 개체의 문자열 표현을 반환합니다.Returns a string representation of the current PeerName object. |
명시적 인터페이스 구현
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
ISerializable 인터페이스를 구현하고 PeerName 인스턴스를 직렬화하는 데 필요한 데이터를 반환합니다.Implements the ISerializable interface and returns the data needed to serialize the PeerName instance. |