PeerName Constructor (String)

Initializes a new object of type PeerName with the supplied fully qualified peer name String value.

Namespace:  System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public PeerName(
	string remotePeerName
)

Parameters

remotePeerName
Type: System.String

Contains the peer name to encode as a PeerName instance.

ExceptionCondition
ArgumentException

The String provided is not a valid PeerName.

ArgumentNullException

remotePeerName is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft