MailBee.NET Objects 4.0

Attachment.LastResult Property

Gets a numeric code of the last error.

public int LastResult {get;}

Property Value

An integer value containing a numeric code of the last error. The default value is 0.

Remarks

The error code is one of constants defined in ErrorCodes class.

Example

The example is available in ThrowExceptions property documentation.

See Also

Attachment Class | MailBee.Mime Namespace | ErrorCodes | ThrowExceptions