PeerNameRecord Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PeerNameRecord class.
PeerNameRecord() |
Initializes a new default instance of the PeerNameRecord class. |
PeerNameRecord(SerializationInfo, StreamingContext) |
Initializes a new default instance of the PeerNameRecord class. |
An object of type PeerNameRecord, whose name is the fully qualified name of the PeerName object within it.
Initializes a new default instance of the PeerNameRecord class.
public:
PeerNameRecord();
public PeerNameRecord();
Public Sub New ()
See also
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new default instance of the PeerNameRecord class.
protected:
PeerNameRecord(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PeerNameRecord(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Net.PeerToPeer.PeerNameRecord : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.PeerToPeer.PeerNameRecord
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Reference to the object that holds the data needed to deserialize this instance.
- context
- StreamingContext
Context that provides the means for deserializing the data. Also referred to as the source of the serialized data.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: