102 references to InvokeCallback
System (102)
net\System\Net\_ChunkParser.cs (1)
296localResult.InvokeCallback(result);
net\System\Net\_Connection.cs (2)
972request.ConnectionAsyncResult.InvokeCallback(new AsyncTriState(needReConnect)); 996request.ConnectionAsyncResult.InvokeCallback(writeStream);
net\System\Net\_ConnectStream.cs (2)
1270userResult.InvokeCallback(userException); 1885castedAsyncResult.InvokeCallback(result);
net\System\Net\_FtpDataStream.cs (2)
221userResult.InvokeCallback(readBytes); 226userResult.InvokeCallback(exception);
net\System\Net\_ListenerAsyncResult.cs (1)
105asyncResult.InvokeCallback(result);
net\System\Net\_ListenerRequestStream.cs (4)
203result.InvokeCallback((uint) 0); 214asyncResult.InvokeCallback(dataRead); 268asyncResult.InvokeCallback((uint)0); 412asyncResult.InvokeCallback(result);
net\System\Net\_ListenerResponseStream.cs (2)
249result.InvokeCallback((uint) 0); 610asyncResult.InvokeCallback(result);
net\System\Net\_StreamFramer.cs (7)
191workerResult.InvokeCallback(-1); 232workerResult.InvokeCallback(e); 266workerResult.InvokeCallback(result); 278workerResult.InvokeCallback(new System.IO.IOException(SR.GetString(SR.net_frame_read_size))); 282workerResult.InvokeCallback(0); 301workerResult.InvokeCallback(workerResult.End); 432workerResult.InvokeCallback(e);
net\System\Net\_TLSstream.cs (4)
611lazyResult.InvokeCallback(exception); 636bufferResult.InvokeCallback(exception); 687((LazyAsyncResult) result.AsyncState).InvokeCallback(exception); 701bufferResult.InvokeCallback(readBytes);
net\System\Net\Cache\_CacheStreams.cs (6)
203userResult.InvokeCallback(count); 210userResult.InvokeCallback(e); 249userResult.InvokeCallback(count); 603userResult.InvokeCallback(e); 629userResult.InvokeCallback(userResult.Count); 661userResult.InvokeCallback(e);
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
351ar.InvokeCallback(result); 520ar.InvokeCallback(null);
net\System\Net\DNS.cs (3)
687result.InvokeCallback(exception); 691result.InvokeCallback(hostEntry); 727asyncResult.InvokeCallback(hostEntry);
net\System\Net\filewebrequest.cs (6)
446asyncResult.InvokeCallback(ex); 451asyncResult.InvokeCallback(request.m_stream); 483asyncResult.InvokeCallback(ex); 488asyncResult.InvokeCallback(request.m_response); 528readAResult.InvokeCallback(webException); 530writeAResult.InvokeCallback(webException);
net\System\Net\FtpWebRequest.cs (1)
725asyncResult.InvokeCallback(m_FtpWebResponse);
net\System\Net\HttpListenerRequest.cs (1)
174asyncResult.InvokeCallback(result);
net\System\Net\HttpWebRequest.cs (14)
1374asyncResult.InvokeCallback(_WriteAResult.Result); 1999asyncResult.InvokeCallback(_ReadAResult.Result); 3200writeAResult.InvokeCallback(webException); 3203readAResult.InvokeCallback(webException); 3212chkConnectionAsyncResult.InvokeCallback(webException); 3214chkReaderAsyncResult.InvokeCallback(webException); 3329asyncResult.InvokeCallback(_SubmitWriteStream); 3634chkConnectionAsyncResult.InvokeCallback(responseOrException); // ref "responseOrException": could be anything except for AsyncTriState or stream 3635chkReaderAsyncResult.InvokeCallback(responseOrException); // ref "responseOrException": could be anything except for null 3728chkConnectionAsyncResult.InvokeCallback(coreResponseData); // ref "coreResponseData": could be anything except for AsyncTriState or stream 3729chkReaderAsyncResult.InvokeCallback(coreResponseData); // ref "coreResponseData": could be anything except for null 3804_ReadAResult.InvokeCallback(result); 3948writeAResult.InvokeCallback(E); 3957readAResult.InvokeCallback(E);
net\System\Net\mail\Base64Stream.cs (2)
487thisPtr.InvokeCallback(e); 560thisPtr.InvokeCallback(e);
net\System\Net\mail\BufferedReadStream.cs (1)
270thisPtr.InvokeCallback(e);
net\System\Net\mail\Message.cs (1)
254context.result.InvokeCallback(e);
net\System\Net\mail\MimeMultiPart.cs (1)
65context.result.InvokeCallback(e);
net\System\Net\mail\MimePart.cs (1)
150context.result.InvokeCallback(e);
net\System\Net\mail\MultiAsyncResult.cs (1)
43base.InvokeCallback(Result);
net\System\Net\mail\QEncodedStream.cs (1)
399thisPtr.InvokeCallback(e);
net\System\Net\mail\QuotedPrintableStream.cs (1)
431thisPtr.InvokeCallback(e);
net\System\Net\mail\SmtpClient.cs (1)
839operationCompletedResult.InvokeCallback(exception);
net\System\Net\mail\smtpconnection.cs (11)
605ConnectAndHandshakeAsyncResult.InvokeCallback((Exception)state); 634ConnectAndHandshakeAsyncResult.InvokeCallback(null); 644ConnectAndHandshakeAsyncResult.InvokeCallback(e); 694InvokeCallback(e); 759thisPtr.InvokeCallback(new SmtpException(info.StatusCode, info.Line, true)); 777thisPtr.InvokeCallback(e); 879thisPtr.InvokeCallback(e); 910thisPtr.InvokeCallback(e); 961thisPtr.InvokeCallback(e); 1051thisPtr.InvokeCallback(e); 1117thisPtr.InvokeCallback(e);
net\System\Net\mail\SmtpReplyReaderFactory.cs (1)
451thisPtr.InvokeCallback(exception);
net\System\Net\mail\SmtpTransport.cs (8)
430thisPtr.InvokeCallback(e); 482thisPtr.InvokeCallback(exception); 490thisPtr.InvokeCallback(e); 506InvokeCallback(new SmtpFailedRecipientsException(failedRecipientExceptions, failedRecipientExceptions.Count == toCollection.Count)); 510InvokeCallback(failedRecipientExceptions[0]); 529thisPtr.InvokeCallback(new SmtpFailedRecipientsException(thisPtr.failedRecipientExceptions, thisPtr.failedRecipientExceptions.Count == thisPtr.toCollection.Count)); 533thisPtr.InvokeCallback(thisPtr.failedRecipientExceptions[0]); 542thisPtr.InvokeCallback(e);
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (2)
163UserAsyncResult.InvokeCallback(e); 173UserAsyncResult.InvokeCallback(userResult);
net\System\Net\SecureProtocols\_NegoState.cs (2)
767lazyResult.InvokeCallback(e); 797lazyResult.InvokeCallback(e);
net\System\Net\SecureProtocols\_SslState.cs (1)
1248ar.InvokeCallback(renegotiateBuffer);
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (2)
385asyncResult.InvokeCallback(returnObject); 429asyncResult.InvokeCallback(returnObject);
net\System\Net\Sockets\Socket.cs (7)
3071asyncResult.InvokeCallback(result); 4300asyncResult.InvokeCallback(new SocketException(errorCode)); 5184asyncResult.InvokeCallback(new SocketException(SocketError.OperationAborted)); 5314asyncResult.InvokeCallback(result); 6402ThreadPool.UnsafeQueueUserWorkItem(new WaitCallback(((LazyAsyncResult)m_AcceptQueueOrConnectResult).InvokeCallback), new SocketException(SocketError.OperationAborted)); 7048context.InvokeCallback(exception); 7140context.InvokeCallback(exception);