Cloud.GetCloudByName(String) Method

Definition

Returns the Cloud object with the specified cloud name.

C#
public static System.Net.PeerToPeer.Cloud GetCloudByName(string cloudName);

Parameters

cloudName
String

Contains the name of the PNRP Cloud.

Returns

The Cloud object with the specified cloud name.

Exceptions

The Cloud name is not known.

Remarks

The maximum size of the name is 256 characters.

If the cloudName parameter is null or empty, then null is returned.

The scope of the cloud, Global, link-local, or otherwise, is specified in Scope.

Applies to

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

See also