CustomErrorsModes 列舉

定義

指定自訂錯誤的處理方式。Specifies how custom errors are handled.

public enum class CustomErrorsModes
[System.Runtime.InteropServices.ComVisible(true)]
public enum CustomErrorsModes
type CustomErrorsModes = 
Public Enum CustomErrorsModes
繼承
CustomErrorsModes
屬性

欄位

Off 1

所有呼叫端都接收完整的例外狀況資訊。All callers receive complete exception information.

On 0

所有呼叫端都接收篩選過的例外狀況資訊。All callers receive filtered exception information.

RemoteOnly 2

本機呼叫端接收完整的例外狀況資訊;遠端呼叫端接收篩選過的例外狀況資訊。Local callers receive complete exception information; remote callers receive filtered exception information.

備註

完整的例外狀況資訊包括確切的伺服器例外狀況和伺服器堆疊追蹤。Complete exception information includes the exact server exception and the server stack trace. 篩選過的資訊包括標準的遠端例外狀況,但不包括伺服器堆疊追蹤。Filtered information includes a standard remoting exception but no server stack trace.

適用於

另請參閱