e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
28 lines
841 B
C#
28 lines
841 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="AsyncPostBackErrorEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI {
|
|
using System;
|
|
using System.Web;
|
|
|
|
public class AsyncPostBackErrorEventArgs : EventArgs {
|
|
private readonly Exception _exception;
|
|
|
|
public AsyncPostBackErrorEventArgs(Exception exception) {
|
|
if (exception == null) {
|
|
throw new ArgumentNullException("exception");
|
|
}
|
|
_exception = exception;
|
|
}
|
|
|
|
public Exception Exception {
|
|
get {
|
|
return _exception;
|
|
}
|
|
}
|
|
}
|
|
}
|