取得或設定布林值,這個值表示是否會傳回詳細資訊錯誤。
命名空間: System.Data.Services
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Public Property UseVerboseErrors As Boolean
Get
Set
'用途
Dim instance As HandleExceptionArgs
Dim value As Boolean
value = instance.UseVerboseErrors
instance.UseVerboseErrors = value
public bool UseVerboseErrors { get; set; }
public:
property bool UseVerboseErrors {
bool get ();
void set (bool value);
}
member UseVerboseErrors : bool with get, set
function get UseVerboseErrors () : boolean
function set UseVerboseErrors (value : boolean)
屬性值
型別:System.Boolean
布林值,表示是否會傳回詳細資訊錯誤。
備註
當 UseVerboseErrors 設定為 true 時,回應中會傳回所有例外狀況詳細資料。 安全性注意事項:將此值設定為 true 可能洩漏應是服務私用的資訊。