SoapException.Lang 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與例外相關的人類語言。
public:
property System::String ^ Lang { System::String ^ get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public string Lang { get; }
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Lang : string
Public ReadOnly Property Lang As String
屬性值
一個 String 用來識別與例外相關的人類語言的值。
- 屬性
備註
如果你的網路服務支援多種人類語言,請拋出例外,並用訊息文字或其他本地化屬性來對應每種語言。 使用此屬性來識別與例外相關的語言。