CloudTracingExtensions.AsFormattedString方法(IDictionary)
Converts given dictionary into a log string.
命名空間: Microsoft.WindowsAzure.Common
組件: Microsoft.WindowsAzure.Common (於 Microsoft.WindowsAzure.Common.dll)
使用方式
'用途
Dim dictionary As IDictionary(Of TKey, TValue)
Dim returnValue As String
returnValue = CloudTracingExtensions.AsFormattedString(dictionary)
語法
'宣告
<ExtensionAttribute> _
Public Shared Function AsFormattedString(Of TKey, TValue) ( _
dictionary As IDictionary(Of TKey, TValue) _
) As String
[ExtensionAttribute]
public static string AsFormattedString<TKey,TValue> (
IDictionary<TKey,TValue> dictionary
)
[ExtensionAttribute]
public:
generic<typename TKey, typename TValue>
static String^ AsFormattedString (
IDictionary<TKey, TValue>^ dictionary
)
GenericParameters
- TKey
The dictionary key type
- TValue
The dictionary value type
參數
- dictionary
The dictionary collection object
傳回值
The log string
執行緒安全性
這種類型的任何公用靜態 (在 Visual Basic 中的 Shared) 成員都屬於安全執行緒。不保證任何執行個體成員安全執行緒。
平台
開發平台
Windows Vista、Windows 7 和 Windows Server 2008
目標平台
另請參閱
參考
CloudTracingExtensions類別
CloudTracingExtensions成員
Microsoft.WindowsAzure.Common命名空間