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。