PeerName Constructor (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
ArgumentException

The String provided is not a valid PeerName.

ArgumentNullException

remotePeerName is null.

.NET Framework
Available since 3.5
Return to top
Show: