共用方式為


CloudExtensions.GetAssemblyVersion<T> 方法 (ServiceClient<T>)

 

取得服務用戶端的組件版本。

命名空間:   Microsoft.WindowsAzure.Common.Internals
組件:  Microsoft.WindowsAzure.Common (在 Microsoft.WindowsAzure.Common.dll 中)

語法

public static string GetAssemblyVersion<T>(
    this ServiceClient<T> client
)
where T : ServiceClient<T>
public:
generic<typename T>
where T : ServiceClient<T>
[ExtensionAttribute]
static String^ GetAssemblyVersion(
    ServiceClient<T>^ client
)
static member GetAssemblyVersion<'T when 'T : ServiceClient<'T>> : 
        client:ServiceClient<'T> -> string
<ExtensionAttribute>
Public Shared Function GetAssemblyVersion(Of T As ServiceClient(Of T)) (
    client As ServiceClient(Of T)
) As String

參數

傳回值

Type: System.String

用戶端組件版本。

類型參數

  • T
    服務用戶端的類型。

請參閱

CloudExtensions 類別
Microsoft.WindowsAzure.Common.Internals 命名空間

回到頁首