PeerNameRegistration::Comment Property

 
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.

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)

public:
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
PeerToPeerException

The specified string value is greater than 39 Unicode characters.

.NET Framework
Available since 3.5
Return to top
Show: