Cloud.GetCloudByName(String) 方法
定义
public:
static System::Net::PeerToPeer::Cloud ^ GetCloudByName(System::String ^ cloudName);
public static System.Net.PeerToPeer.Cloud GetCloudByName (string cloudName);
static member GetCloudByName : string -> System.Net.PeerToPeer.Cloud
Public Shared Function GetCloudByName (cloudName As String) As Cloud
参数
返回
具有指定群名称的 Cloud 对象。The Cloud object with the specified cloud name.
例外
注解
名称的最大大小为256个字符。The maximum size of the name is 256 characters.
如果 cloudName 参数为 null 或空,则 null 返回。If the cloudName parameter is null or empty, then null is returned.
中指定了云的作用域、 Global 本地链接或其他的作用域 Scope 。The scope of the cloud, Global, link-local, or otherwise, is specified in Scope.