C# OtherExceptionTypes的命名空间

C# OtherExceptionTypes的命名空间,c#,asp.net,namespaces,C#,Asp.net,Namespaces,我尝试了本页中的一个示例: 但是在代码中 try { // Do stuff. } catch(ThreadAbortException) { // Do nothing. ASP.NET is redirecting. // Always comment this so other developers know why the exception // is being swallowed. } catch(OtherExceptionTypes ex) {

我尝试了本页中的一个示例: 但是在代码中

try
{
    // Do stuff.
}
catch(ThreadAbortException)
{
    // Do nothing. ASP.NET is redirecting.
    // Always comment this so other developers know why the exception 
    // is being swallowed.
}
catch(OtherExceptionTypes ex)
{
    // Log other types of exception.
}
我没有其他例外类型的名称空间。
谢谢

这只是一个例子,不是真正的例外类型哦,我现在明白了:D