Using exception Tag to describe the exception : Document « Development « Visual C++ .NET






Using exception Tag to describe the exception

 

    public ref class AClass
    {
    public:
        /// <exception cref="System::OverflowException"> 
        /// This method might throw this exception (NOT)
        /// </exception> 
        void exceptionTag() {}
    }

   
  








Related examples in the same category

1.Summary Tag
2.Using param tag to add comments for the parameters
3.Using return tag to add comments for returning value
4.Property value tag
5.Remark tag
6.Example code tag
7.Using permission Tag to tell the permission
8.Using c tag to insert code
9.Using code tag to insert code
10.Using paragraph tag to insert large chunk of comments
11.A bullet list
12.A numbered list
13.A table
14.A definition of terms
15.Include tag
16.paramref tag
17.See also tag