CustomErrorsModes Enum

Definition

Specifies how custom errors are handled.

C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum CustomErrorsModes
Inheritance
CustomErrorsModes
Attributes

Fields

Name Value Description
On 0

All callers receive filtered exception information.

Off 1

All callers receive complete exception information.

RemoteOnly 2

Local callers receive complete exception information; remote callers receive filtered exception information.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also