# Message() property

Returns the error message associated with an ErrorInfo object.

Most UL for .NET methods return an ErroInfo object. If no error occurred, an ErroInfo object is returned with the Message property set to "No error has occurred".

Member of the ErrorInfo class.

## Property prototype

VB .NET

Public ReadOnly Property Message As String

C# .NET

public string Message [get]

## Notes

- Refer to the ErrHandling() method for an alternate method of handling errors.