119 references to SendOrPostCallback
mscorlib (6)
system\progress.cs (1)
43private readonly SendOrPostCallback m_invokeHandlers;
system\runtime\compilerservices\YieldAwaitable.cs (1)
161private static readonly SendOrPostCallback s_sendOrPostCallbackRunAction = RunAction;
system\threading\synchronizationcontext.cs (2)
124public virtual void Send(SendOrPostCallback d, Object state) 129public virtual void Post(SendOrPostCallback d, Object state)
system\threading\Tasks\TaskContinuation.cs (1)
388private readonly static SendOrPostCallback s_postCallback = state => ((Action)state)(); // can't use InvokeAction as it's SecurityCritical
system\threading\Tasks\TaskScheduler.cs (1)
712private static SendOrPostCallback s_postCallback = new SendOrPostCallback(PostCallback);
System (21)
compmod\system\componentmodel\AsyncOperation.cs (3)
56public void Post(SendOrPostCallback d, object arg) 63public void PostOperationCompleted(SendOrPostCallback d, object arg) 96private void VerifyDelegateNotNull(SendOrPostCallback d)
compmod\system\componentmodel\BackgroundWorker.cs (2)
34private readonly SendOrPostCallback operationCompleted; 35private readonly SendOrPostCallback progressReporter;
net\System\Net\mail\SmtpClient.cs (1)
51SendOrPostCallback onSendCompletedDelegate;
net\System\Net\NetworkInformation\ping.cs (2)
51SendOrPostCallback onPingCompletedDelegate; 213SendOrPostCallback onPingCompletedDelegate = null;
net\System\Net\webclient.cs (12)
1763private void InvokeOperationCompleted(AsyncOperation asyncOp, SendOrPostCallback callback, AsyncCompletedEventArgs eventArgs) { 1793private SendOrPostCallback openReadOperationCompleted; 1864private SendOrPostCallback openWriteOperationCompleted; 1946private SendOrPostCallback downloadStringOperationCompleted; 2011private SendOrPostCallback downloadDataOperationCompleted; 2066private SendOrPostCallback downloadFileOperationCompleted; 2128private SendOrPostCallback uploadStringOperationCompleted; 2247private SendOrPostCallback uploadDataOperationCompleted; 2343private SendOrPostCallback uploadFileOperationCompleted; 2447private SendOrPostCallback uploadValuesOperationCompleted; 2942private SendOrPostCallback reportDownloadProgressChanged; 2947private SendOrPostCallback reportUploadProgressChanged;
sys\system\Media\SoundPlayer.cs (1)
50private readonly SendOrPostCallback loadAsyncOperationCompleted;
System.Activities (12)
System\Activities\AsyncInvokeOperation.cs (1)
50public void PostOperationCompleted(SendOrPostCallback callback, object arg)
System\Activities\Runtime\Scheduler.cs (1)
24static SendOrPostCallback onScheduledWorkCallback = Fx.ThunkCallback(new SendOrPostCallback(OnScheduledWork));
System\Activities\SynchronizationContextHelper.cs (2)
44public override void Post(SendOrPostCallback d, object state) 49public override void Send(SendOrPostCallback d, object state)
System\Activities\WorkflowApplication.cs (6)
3053public override void Post(SendOrPostCallback d, object state) 3058public override void Send(SendOrPostCallback d, object state) 4785public override void Post(SendOrPostCallback d, object state) 4790public override void Send(SendOrPostCallback d, object state) 4871SendOrPostCallback callback; 4874public WorkItem(SendOrPostCallback callback, object state)
System\Activities\WorkflowInvoker.cs (2)
23SendOrPostCallback raiseInvokeCompletedCallback; 65SendOrPostCallback RaiseInvokeCompletedCallback
System.Net (6)
net\PeerToPeer\Collaboration\ContactManager.cs (1)
1461SendOrPostCallback OnCreateContactCompletedDelegate;
net\PeerToPeer\Collaboration\Peer.cs (1)
792SendOrPostCallback OnInviteCompletedDelegate;
net\PeerToPeer\Collaboration\PeerContact.cs (1)
526private SendOrPostCallback OnSubscribeCompletedDelegate;
net\PeerToPeer\Collaboration\PeerNearMe.cs (1)
421SendOrPostCallback OnRefreshDataCompletedDelegate;
net\PeerToPeer\PeerNameResolver.cs (2)
552SendOrPostCallback OnResolveProgressChangedDelegate; 553SendOrPostCallback OnResolveCompletedDelegate;
System.ServiceModel (13)
System\ServiceModel\ClientBase.cs (4)
987EndOperationDelegate endOperationDelegate, SendOrPostCallback operationCompletedCallback, object userState) 1071SendOrPostCallback completionCallback; 1073internal AsyncOperationContext(AsyncOperation asyncOperation, EndOperationDelegate endDelegate, SendOrPostCallback completionCallback) 1096internal SendOrPostCallback CompletionCallback
System\ServiceModel\ComIntegration\ComPlusSynchronizationContext.cs (4)
25public override void Send(SendOrPostCallback d, Object state) 30public override void Post(SendOrPostCallback d, Object state) 55SendOrPostCallback callback; 58public ServiceCall(SendOrPostCallback callback,
System\ServiceModel\Description\ClientClassGenerator.cs (1)
45static Type sendOrPostCallbackType = typeof(SendOrPostCallback);
System\ServiceModel\Dispatcher\ThreadBehavior.cs (4)
15SendOrPostCallback threadAffinityStartCallback; 16SendOrPostCallback threadAffinityEndCallback; 25SendOrPostCallback ThreadAffinityStartCallbackDelegate 36SendOrPostCallback ThreadAffinityEndCallbackDelegate
System.ServiceModel.Activities (15)
System\ServiceModel\Activities\Dispatcher\WorkflowSynchronizationContext.cs (2)
36public override void Post(SendOrPostCallback d, object state) 40public override void Send(SendOrPostCallback d, object state)
System\ServiceModel\Activities\WorkflowControlClient.cs (6)
20SendOrPostCallback onAbandonCompleteDelegate; 24SendOrPostCallback onCancelCompleteDelegate; 28SendOrPostCallback onRunCompleteDelegate; 32SendOrPostCallback onSuspendCompleteDelegate; 36SendOrPostCallback onUnsuspendCompleteDelegate; 40SendOrPostCallback onTerminateCompleteDelegate;
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (7)
21SendOrPostCallback onAbandonCompleteDelegate; 25SendOrPostCallback onCancelCompleteDelegate; 29SendOrPostCallback onRunCompleteDelegate; 33SendOrPostCallback onSuspendCompleteDelegate; 37SendOrPostCallback onUnsuspendCompleteDelegate; 41SendOrPostCallback onTerminateCompleteDelegate; 45SendOrPostCallback onUpdateCompleteDelegate;
System.ServiceModel.Discovery (10)
System\ServiceModel\Discovery\DiscoveryClient.cs (4)
28SendOrPostCallback findCompletedDelegate; 29SendOrPostCallback findProgressChangedDelegate; 30SendOrPostCallback resolveCompletedDelegate; 31SendOrPostCallback proxyAvailableDelegate;
System\ServiceModel\Discovery\Version11\AnnouncementInnerClient11.cs (2)
18SendOrPostCallback onHelloOperationCompletedDelegate; 22SendOrPostCallback onByeOperationCompletedDelegate;
System\ServiceModel\Discovery\VersionApril2005\AnnouncementInnerClientApril2005.cs (2)
19SendOrPostCallback onHelloOperationCompletedDelegate; 23SendOrPostCallback onByeOperationCompletedDelegate;
System\ServiceModel\Discovery\VersionCD1\AnnouncementInnerClientCD1.cs (2)
18SendOrPostCallback onHelloOperationCompletedDelegate; 22SendOrPostCallback onByeOperationCompletedDelegate;
System.ServiceModel.Internals (5)
System\Runtime\Fx.cs (5)
388public static SendOrPostCallback ThunkCallback(SendOrPostCallback callback) 1220sealed class SendOrPostThunk : Thunk<SendOrPostCallback> 1222public SendOrPostThunk(SendOrPostCallback callback) : base(callback) 1226public SendOrPostCallback ThunkFrame
System.Web (6)
AspNetSynchronizationContext.cs (2)
129public override void Post(SendOrPostCallback callback, Object state) { 167public override void Send(SendOrPostCallback callback, Object state) {
LegacyAspNetSynchronizationContext.cs (4)
43private void CallCallback(SendOrPostCallback callback, Object state) { 57private void CallCallbackPossiblyUnderLock(SendOrPostCallback callback, Object state) { 112public override void Send(SendOrPostCallback callback, Object state) { 120public override void Post(SendOrPostCallback callback, Object state) {
System.Web.Services (9)
System\Web\Services\Description\WebCodeGenerator.cs (2)
280callback.Type = new CodeTypeReference(typeof(SendOrPostCallback)); 339createDelegate.DelegateType = new CodeTypeReference(typeof(SendOrPostCallback));
System\Web\Services\Protocols\ClientProtocol.cs (3)
697SendOrPostCallback callback; 700internal UserToken(SendOrPostCallback callback, object userState) { 704internal SendOrPostCallback Callback { get { return callback; } }
System\Web\Services\Protocols\HttpClientProtocol.cs (2)
271protected void InvokeAsync(string methodName, string requestUrl, object[] parameters, SendOrPostCallback callback) { 279protected void InvokeAsync(string methodName, string requestUrl, object[] parameters, SendOrPostCallback callback, object userState) {
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
426protected void InvokeAsync(string methodName, object[] parameters, SendOrPostCallback callback) { 434protected void InvokeAsync(string methodName, object[] parameters, SendOrPostCallback callback, object userState) {
System.Windows.Forms (4)
winforms\Managed\System\WinForms\PictureBox.cs (2)
75private SendOrPostCallback loadCompletedDelegate = null; 76private SendOrPostCallback loadProgressDelegate = null;
winforms\Managed\System\WinForms\WindowsFormsSynchronizationContext.cs (2)
78public override void Send(SendOrPostCallback d, Object state) { 92public override void Post(SendOrPostCallback d, Object state) {
System.WorkflowServices (6)
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (1)
21static SendOrPostCallback sendOrPostCallback = Fx.ThunkCallback(new SendOrPostCallback(waitCallback));
System\Workflow\Runtime\Hosting\SynchronizationContextWorkflowSchedulerService.cs (5)
82static SendOrPostCallback wrapperCallback = 85public static void Post(SynchronizationContext synchronizationContext, SendOrPostCallback callback, object state) 115SendOrPostCallback callback; 119public PostCallbackState(SynchronizationContext synchronizationContext, SendOrPostCallback callback, object callbackState) 126public SendOrPostCallback Callback
WindowsBase (6)
Base\MS\Internal\Threading\ExceptionWrapper.cs (2)
108SendOrPostCallback sendOrPostCallback = callback as SendOrPostCallback;
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (2)
57public override void Send(SendOrPostCallback d, Object state) 76public override void Post(SendOrPostCallback d, Object state)
Shared\MS\Internal\ReaderWriterLockWrapper.cs (2)
327public override void Send(SendOrPostCallback d, Object state) 335public override void Post(SendOrPostCallback d, Object state)