HttpContextBase.Error Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the first error (if any) that accumulated when an HTTP request was being processed.
public:
virtual property Exception ^ Error { Exception ^ get(); };
public virtual Exception Error { get; }
member this.Error : Exception
Public Overridable ReadOnly Property Error As Exception
Property Value
The first exception for the current HTTP request/response process, or null
if no errors accumulated during the HTTP request processing.
Exceptions
Always.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.