PeerName Třída
Definice
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
type PeerName = class
interface ISerializable
interface IEquatable<PeerName>
Public Class PeerName
Implements IEquatable(Of PeerName), ISerializable
- Dědičnost
-
PeerName
- Atributy
- Implementuje
Konstruktory
PeerName(SerializationInfo, StreamingContext) |
Naplní PeerNameobjekt daty potřebnými k serializaci. SerializationInfoPopulates a SerializationInfo object with the data needed to serialize the PeerName. |
PeerName(String) |
Inicializuje nový objekt typu PeerName se zadanou hodnotou plně kvalifikovaného názvu String partnera.Initializes a new object of type PeerName with the supplied fully qualified peer name String value. |
PeerName(String, PeerNameType) |
Inicializuje novou instanci třídy PeerName třídy.Initializes a new instance of the PeerName class. |
Vlastnosti
Authority |
Vrátí řetězec, který určuje, Authority který je použit PeerName tímto objektem.Returns a string that specifies the Authority used by this PeerName object. |
Classifier |
Vrátí řetězec, který obsahuje klasifikátor pro partnerský vztah peer-to-peer PeerName.Returns a string that contains the classifier for a peer-to-peer PeerName. |
IsSecured |
Získá logickou hodnotu, která určuje, zda se jedná o zabezpečený partnerský název.Gets a Boolean value that specifies whether this is a secured peer name. |
PeerHostName |
Získá název hostitele peer-to-peer.Gets the name of the peer-to-peer host. Toto je verze PeerName zakódovaná službou DNS, která je ekvivalentem v v PeerHostName tom, že se jedná o identifikátory.This is a DNS-encoded version of the PeerName which is equivalent to a PeerHostName in that they are both identifiers. Rozdíl mezi těmito dvěma prvky je vizuální reprezentace.The difference between the two is visual representation. |
Metody
CreateFromPeerHostName(String) |
Vytvoří novou instanci zadaného PeerHostName objektu se zadaným názvem partnerského hostitele.Creates a new instance of the specified PeerHostName object with the specified peer host name. |
CreateRelativePeerName(PeerName, String) |
Vytvoří nový PeerName Classifier nahrazenímPeerName pole definovaného u zadaného objektu zadanou hodnotou řetězce klasifikátoru.Creates a new PeerName by replacing the Classifier field defined on the supplied PeerName object with the specified classifier string value. |
Equals(Object) |
Určuje, zda se obsah této PeerName možnosti rovná obsahu jiného objektu.Determines whether the content of this PeerName is equal to the content of another object. |
Equals(PeerName) |
Provede porovnání rozlišující malá a velká písmena aktuálního PeerName a zadaného názvu partnera.Performs a case-sensitive comparison of the current PeerName and the specified peer name. |
GetHashCode() |
GetHashCode() Přepíše metodu.Overrides the GetHashCode() method. |
GetObjectData(SerializationInfo, StreamingContext) |
Naplní objekt informací o serializaci daty potřebnými k serializaci PeerName.Populates a serialization information object with the data needed to serialize the PeerName. |
GetType() |
Získá Type aktuální instance.Gets the Type of the current instance. (Zděděno od Object) |
MemberwiseClone() |
Vytvoří kopii aktuálního Objectbez podstruktury.Creates a shallow copy of the current Object. (Zděděno od Object) |
ToString() |
Vrátí řetězcovou reprezentaci aktuálního PeerName objektu.Returns a string representation of the current PeerName object. |
Explicitní implementace rozhraní
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Implementuje rozhraní a vrátí data potřebná k PeerName serializaci instance. ISerializableImplements the ISerializable interface and returns the data needed to serialize the PeerName instance. |