blob: 1b3e25b8b290c091f54326e0ff4692915b5da987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*=============================================================================
**
** File: ExceptionNotification.cs
**
**
** Purpose: Contains definitions for supporting Exception Notifications.
**
** Created: 10/07/2008
**
** <owner>gkhanna</owner>
**
=============================================================================*/
namespace System.Runtime.ExceptionServices {
using System;
using System.Runtime.ConstrainedExecution;
// Definition of the argument-type passed to the FirstChanceException event handler
public class FirstChanceExceptionEventArgs : EventArgs
{
// Constructor
public FirstChanceExceptionEventArgs(Exception exception)
{
m_Exception = exception;
}
// Returns the exception object pertaining to the first chance exception
public Exception Exception
{
get { return m_Exception; }
}
// Represents the FirstChance exception instance
private Exception m_Exception;
}
}
|