Redigera

Dela via


FileLoadException.ToString Method

Definition

Returns the fully qualified name of the current exception, and possibly the error message, the name of the inner exception, and the stack trace.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string containing the fully qualified name of this exception, and possibly the error message, the name of the inner exception, and the stack trace, depending on which FileLoadException constructor is used.

Remarks

This method overrides ToString.

The string representation returned by this method includes the name of the exception, the value of the Message the value of the FileName property, and the result of calling StackTrace. If any of these members is a null reference, its value is not included in the returned string.

Applies to

See also