Published in: HTML
URL: http://msdn2.microsoft.com/en-us/library/w1htk11d(VS.80).aspx
The tag lets you specify which exceptions can be thrown. This tag can be applied to definitions for methods, properties, events, and indexers.
// compile with: /doc:DocFileName.xml /// comment for class public class EClass : System.Exception { // class definition... } /// comment for class class TestClass { /// <exception cref="System.Exception">Thrown when...</exception> public void DoSomething() { try { } catch (EClass) { } } }
You need to login to post a comment.
