Aracılığıyla paylaş


HttpContextBase.AddError(Exception) Yöntem

Tanım

Türetilmiş bir sınıfta geçersiz kılınırsa, geçerli HTTP isteği için özel durum koleksiyonuna bir özel durum ekler.

public:
 virtual void AddError(Exception ^ errorInfo);
public virtual void AddError (Exception errorInfo);
abstract member AddError : Exception -> unit
override this.AddError : Exception -> unit
Public Overridable Sub AddError (errorInfo As Exception)

Parametreler

errorInfo
Exception

Özel durum koleksiyonuna eklenecek özel durum.

Özel durumlar

Şunlara uygulanır