語言

SoapException.Lang 屬性

定義

取得與例外相關的人類語言。

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 用來識別與例外相關的人類語言的值。

屬性

備註

如果你的網路服務支援多種人類語言,請拋出例外,並用訊息文字或其他本地化屬性來對應每種語言。 使用此屬性來識別與例外相關的語言。

適用於