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