forked from microsoft/referencesource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppVerifierErrorCode.cs
More file actions
37 lines (33 loc) · 1.76 KB
/
AppVerifierErrorCode.cs
File metadata and controls
37 lines (33 loc) · 1.76 KB
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
namespace System.Web.Util {
using System;
// IMPORTANT: Each error code must be used in *exactly one place* in order to make
// diagnosing the failure easier.
internal enum AppVerifierErrorCode {
Ok,
/* ASYNC OPERATIONS */
HttpApplicationInstanceWasNull,
BeginHandlerDelegateWasNull,
AsyncCallbackInvokedMultipleTimes,
AsyncCallbackInvokedWithNullParameter,
AsyncCallbackGivenAsyncResultWhichWasNotCompleted,
AsyncCallbackInvokedSynchronouslyButAsyncResultWasNotMarkedCompletedSynchronously,
AsyncCallbackInvokedAsynchronouslyButAsyncResultWasMarkedCompletedSynchronously,
AsyncCallbackInvokedWithUnexpectedAsyncResultInstance,
AsyncCallbackInvokedAsynchronouslyThenBeginHandlerThrew,
BeginHandlerThrewThenAsyncCallbackInvokedAsynchronously,
AsyncCallbackInvokedSynchronouslyThenBeginHandlerThrew,
AsyncCallbackInvokedWithUnexpectedAsyncResultAsyncState,
AsyncCallbackCalledAfterHttpApplicationReassigned,
BeginHandlerReturnedNull,
BeginHandlerReturnedAsyncResultMarkedCompletedSynchronouslyButWhichWasNotCompleted,
BeginHandlerReturnedAsyncResultMarkedCompletedSynchronouslyButAsyncCallbackNeverCalled,
BeginHandlerReturnedUnexpectedAsyncResultInstance,
BeginHandlerReturnedUnexpectedAsyncResultAsyncState,
SyncContextSendOrPostCalledAfterRequestCompleted,
SyncContextSendOrPostCalledBetweenNotifications,
SyncContextPostCalledInNestedNotification,
RequestNotificationCompletedSynchronouslyWithNotificationContextPending,
NotificationContextHasChangedAfterSynchronouslyProcessingNotification,
PendingProcessRequestNotificationStatusAfterCompletingNestedNotification
}
}