Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

AsyncPostBackErrorEventArgs Class

Provides data for the AsyncPostBackError event.

Syntax

CSharp

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class AsyncPostBackErrorEventArgs : EventArgs

VisualBasic

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class AsyncPostBackErrorEventArgs _
	Inherits EventArgs

ManagedCPlusPlus

[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class AsyncPostBackErrorEventArgs : public EventArgs

JSharp

/** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) */
public class AsyncPostBackErrorEventArgs extends EventArgs

Members

IconMemberDescription
AsyncPostBackErrorEventArgsNew(Exception)Initializes a new instance of the AsyncPostBackErrorEventArgs class.
Equals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
ExceptionGets the Exception raised during partial-page rendering.
Finalize()Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode()Serves as a hash function for a particular type. (Inherited from Object.)
GetType()Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
ToString()Returns a String that represents the current Object. (Inherited from Object.)

Remarks

The AsyncPostBackErrorEventArgs object is used to pass event data when the AsyncPostBackError is raised during partial-page rendering. The event data is information about server exceptions. Use the Exception property to access the event data.

Permissions

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: InheritanceDemand. Permission value: Minimal.

Inheritance Hierarchy

Object

Assembly: System.Web.Extensions (Module: System.Web.Extensions)