104 references to ErrorCodes
System (104)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
436
errorCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_NOT_FOUND;
net\System\Net\_ListenerAsyncResult.cs (9)
39
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
40
errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
48
if (errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
82
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
83
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
119
uint statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
135
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_INVALID_PARAMETER && m_RequestContext.RequestBlob->RequestId != 0)
143
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
150
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
net\System\Net\_ListenerRequestStream.cs (9)
165
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
180
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF || dataRead == 0) {
264
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING) {
266
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
277
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
399
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
net\System\Net\_ListenerResponseStream.cs (11)
207
statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
220
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
297
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING) {
311
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && HttpListener.SkipIOCPCallbackOnSuccess)
433
statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
443
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
589
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF) {
net\System\Net\_RegBlobWebProxyDataBuilder.cs (3)
103
errorCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_NOT_FOUND;
110
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
120
if (errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
net\System\Net\_SafeNetHandles.cs (7)
343
UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS);
386
UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS);
3057
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA &&
3058
(blob != null || errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS))
3066
if (errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
3081
return UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
3084
return UnsafeNclNativeMethods.
ErrorCodes
.ERROR_NOT_SUPPORTED;
net\System\Net\HttpListener.cs (28)
502
uint statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
513
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
677
if (statusCode!=UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
678
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_ALREADY_EXISTS)
777
uint statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
800
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
812
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
906
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
952
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
988
uint statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
995
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
1117
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_NOT_FOUND)
1129
if (statusCode!=UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
1130
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_ALREADY_EXISTS)
1154
uint statusCode = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
1174
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_INVALID_PARAMETER && requestId != 0) {
1180
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
1191
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
1262
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
1263
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
2301
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS ||
2302
statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
2310
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && HttpListener.SkipIOCPCallbackOnSuccess)
2415
if (statusCode!=UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
2471
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
2484
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
2491
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_INVALID_PARAMETER)
2506
} while (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS);
net\System\Net\HttpListenerContext.cs (1)
259
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_CONNECTION_INVALID)
net\System\Net\HttpListenerRequest.cs (12)
100
if (errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
120
if(errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING ||
121
(errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS && !HttpListener.SkipIOCPCallbackOnSuccess))
127
if (errorCode!=UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
169
if(errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING){
845
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA)
852
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
853
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING) {
860
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
943
if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_MORE_DATA) {
947
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS) {
972
GlobalLog.Assert(statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_NOT_FOUND, "HttpListenerRequest#{0}::ProcessClientCertificate()|Call to UnsafeNclNativeMethods.HttpApi.HttpReceiveClientCertificate() failed with statusCode {1}.", ValidationHelper.HashString(this), statusCode);
net\System\Net\HttpListenerResponse.cs (2)
548
statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
577
statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
net\System\Net\NetworkInformation\ping.cs (1)
704
if (async && error == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
net\System\Net\NetworkInformation\SafeCancelMibChangeNotify.cs (1)
20
return (err == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS);
net\System\Net\NetworkInformation\TeredoHelper.cs (3)
73
uint err = UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS;
94
if (err == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
106
if (err != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)
net\System\Net\Sockets\SocketErrors.cs (2)
392
IOPending = (int) UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING, // 997
398
OperationAborted = (int) UnsafeNclNativeMethods.
ErrorCodes
.ERROR_OPERATION_ABORTED, // 995, WSA_OPERATION_ABORTED
net\System\Net\UnsafeNativeMethods.cs (3)
2941
uint statusCode =
ErrorCodes
.ERROR_SUCCESS;
2953
if (statusCode ==
ErrorCodes
.ERROR_INVALID_PARAMETER) {
2962
supported = statusCode ==
ErrorCodes
.ERROR_SUCCESS;
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (9)
278
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
279
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING &&
280
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF)
284
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
537
if (statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
538
statusCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_IO_PENDING)
542
else if (statusCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS &&
1265
if (errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS ||
1266
errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_HANDLE_EOF)
net\System\Net\WinHttpWebProxyFinder.cs (2)
256
GlobalLog.Assert(errorCode != UnsafeNclNativeMethods.
ErrorCodes
.ERROR_INVALID_PARAMETER,
280
if (errorCode == UnsafeNclNativeMethods.
ErrorCodes
.ERROR_SUCCESS)