CloudServiceOperationsExtensions.GetAsync 方法
Retrieve a Cloud services (see https://msdn.microsoft.com/en-us/library/windowsazure/XXXXXXX.aspx for more information)
命名空间: Microsoft.WindowsAzure.Management.Automation
程序集: Microsoft.WindowsAzure.Management.Automation(在 Microsoft.WindowsAzure.Management.Automation.dll 中)
使用
用法
Dim operations As ICloudServiceOperations
Dim cloudServiceName As String
Dim returnValue As Task(Of CloudServiceGetResponse)
returnValue = CloudServiceOperationsExtensions.GetAsync(operations, cloudServiceName)
语法
声明
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
operations As ICloudServiceOperations, _
cloudServiceName As String _
) As Task(Of CloudServiceGetResponse)
[ExtensionAttribute]
public static Task<CloudServiceGetResponse> GetAsync (
ICloudServiceOperations operations,
string cloudServiceName
)
[ExtensionAttribute]
public:
static Task<CloudServiceGetResponse^>^ GetAsync (
ICloudServiceOperations^ operations,
String^ cloudServiceName
)
/** @attribute ExtensionAttribute() */
public static Task<CloudServiceGetResponse> GetAsync (
ICloudServiceOperations operations,
String cloudServiceName
)
ExtensionAttribute
public static function GetAsync (
operations : ICloudServiceOperations,
cloudServiceName : String
) : Task<CloudServiceGetResponse>
参数
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.ICloudServiceOperations.
- cloudServiceName
Required. Cloud service name.
返回值
The response model for the get cloud service operation.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
CloudServiceOperationsExtensions 类
CloudServiceOperationsExtensions 成员
Microsoft.WindowsAzure.Management.Automation 命名空间