HostProtectionException.ToString Method ()


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

Returns a string representation of the current host protection exception.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

override ToString : unit -> string

Return Value

Type: System.String

A string representation of the current HostProtectionException.

The returned string is a textual representation of the exception.

.NET Framework
Available since 2.0
Return to top