-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathNotificationContext.cs
25 lines (23 loc) · 1.01 KB
/
NotificationContext.cs
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
//------------------------------------------------------------------------------
// <copyright file="NotificationContext.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web {
internal class NotificationContext {
internal NotificationContext(int flags, bool isReEntry) {
CurrentNotificationFlags = flags;
IsReEntry = isReEntry;
}
internal bool IsPostNotification;
internal RequestNotification CurrentNotification;
internal int CurrentModuleIndex;
internal int CurrentModuleEventIndex;
internal int CurrentNotificationFlags;
internal HttpAsyncResult AsyncResult;
internal bool PendingAsyncCompletion;
internal Exception Error;
internal bool RequestCompleted;
internal bool IsReEntry; // Currently, we only re-enter for SendResponse notifications
}
}