ServiceHealthData(String, String[]) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化新的 ServiceHealthData 項目,該項目是由一個索引鍵和多個值組成。
public:
ServiceHealthData(System::String ^ key, cli::array <System::String ^> ^ values);
public ServiceHealthData(string key, string[] values);
new System.ServiceModel.Description.ServiceHealthData : string * string[] -> System.ServiceModel.Description.ServiceHealthData
Public Sub New (key As String, values As String())
參數
- key
- String
用來識別資料的索引鍵名稱。
- values
- String[]
資料項目集。
例外狀況
key
為 null
。