PeerNameRegistration::Comment Property


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

Gets or sets additional information about the PeerName object that will be registered with the Cloud.

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

property String^ Comment {
	String^ get();
	void set(String^ value);

Property Value

Type: System::String^

The comment that contains additional information about the PeerName to associate with the Cloud. This property is set to null by default.

Exception Condition

The specified string value is greater than 39 Unicode characters.

.NET Framework
Available since 3.5
Return to top