ASP ASPError Object
ASPError object သည် scripts များတွင် error များအကြောင်း အချက်အလက်ကို ပြသသည်။
ASPError Object
ASPError Object ကို ASP 3.0 တွင် အကောင်အထည် ဖော်ခဲ့ပြီး IIS5 နှင့် နောက်ပိုင်းတွင် ရနိုင်ပါသည်။
ASPError အရာဝတ္တုကို ASP စာမျက်နှာရှိ scripts များတွင် ဖြစ်ပေါ်သည့် မည်သည့်အမှားအယွင်းမဆို အသေးစိတ်အချက်အလက်များကို ပြသရန်အတွက် အသုံးပြုပါသည်။
မှတ်ချက်- Server.GetLastError ကိုခေါ်သောအခါ ASPError အရာဝတ္ထုကို ဖန်တီးထားသောကြောင့် အမှားအယွင်းအချက်အလက်များကို Server.GetLastError နည်းလမ်းကို အသုံးပြုခြင်းဖြင့်သာ ဝင်ရောက်ကြည့်ရှုနိုင်မည်ဖြစ်သည်။
ASPError အရာဝတ္ထု၏ ဂုဏ်သတ္တိများကို အောက်တွင်ဖော်ပြထားသည် (ဂုဏ်သတ္တိများအားလုံးသည် ဖတ်ရန်သာဖြစ်သည်)။
သတ္တိ
Property | Description |
---|---|
ASPCode | Returns an error code generated by IIS |
ASPDescription | Returns a detailed description of the error (if the error is ASP-related) |
Category | Returns the source of the error (was the error generated by ASP? By a scripting language? By an object?) |
Column | Returns the column position within the file that generated the error |
Description | Returns a short description of the error |
File | Returns the name of the ASP file that generated the error |
Line | Returns the line number where the error was detected |
Number | Returns the standard COM error code for the error |
Source | Returns the actual source code of the line where the error occurred |