MailBee.NET Objects 4.0

SendMailJobCollection.RemoveAt Method 

Removes the job with the specified index from the collection.

public void RemoveAt(
   int index
);

Parameters

index
The zero-based index of SendMailJob to be removed from the collection.

Remarks

JobsRunning collection is read-only. Only MailBee itself can modify this collection. Other collections (JobsPending, JobsSuccessful, JobsFailed) are editable.

Except for read-only check, this method simply calls RemoveAt and thus may also throw exceptions specific to that method.

Exceptions

Exception TypeCondition
MailBeeInvalidStateExceptionThe collection is read-only.

See Also

SendMailJobCollection Class | MailBee.SmtpMail Namespace