CustomErrorsModes Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies how custom errors are handled.

Namespace:   System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

[<ComVisibleAttribute(true)>]
type CustomErrorsModes

Member nameDescription
Off

All callers receive complete exception information.

On

All callers receive filtered exception information.

RemoteOnly

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.

.NET Framework
Available since 2.0
Return to top
Show: