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