Adds a link into exceptions list. This tag lets you specify which exceptions a member can throw. This is a top-level tag. XML comment may contain any number of <exception> tags.

Syntax

<exception cref="reference">description</exception>

Reference should point to some Exception class in your project. Warning appears during compilation if reference points to non-existing target. Description describes situation when this exception is thrown.

Examples

 

See Also