System.Security.HostProtectionException.ToString Method

Returns a string representation of the current host protection exception.

Syntax

public override string ToString ()

Returns

A string representation of the current System.Security.HostProtectionException.

Remarks

The returned string is a textual representation of the exception.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0