211 references to WaitCallback
mscorlib (18)
system\console.cs (1)
1755
WaitCallback
controlCCallback = new WaitCallback(ControlCDelegate);
system\runtime\compilerservices\YieldAwaitable.cs (1)
159
private static readonly
WaitCallback
s_waitCallbackRunAction = RunAction;
system\runtime\remoting\crossappdomainchannel.cs (1)
607
WaitCallback
threadFunc = new WaitCallback(workItem.FinishAsyncWork);
system\runtime\remoting\crosscontextchannel.cs (1)
290
WaitCallback
threadFunc = new WaitCallback(workItem.FinishAsyncWork);
system\runtime\remoting\lease.cs (1)
477
WaitCallback
threadFunc = new WaitCallback(this.SponsorCallback);
system\runtime\remoting\remotingservices.cs (1)
1804
internal static GCHandle CreateDelegateInvocation(
WaitCallback
waitDelegate, Object state)
system\threading\threadpool.cs (10)
1187
private
WaitCallback
callback;
1211
internal QueueUserWorkItemCallback(
WaitCallback
waitCallback, Object stateObj, bool compressStack, ref StackCrawlMark stackMark)
1227
internal QueueUserWorkItemCallback(
WaitCallback
waitCallback, Object stateObj, ExecutionContext ec)
1244
WaitCallback
cb = callback;
1271
WaitCallback
wc = obj.callback as
WaitCallback
;
1588
WaitCallback
callBack, // NOTE: we do not expose options that allow the callback to be queued as an APC
1599
WaitCallback
callBack // NOTE: we do not expose options that allow the callback to be queued as an APC
1609
WaitCallback
callBack, // NOTE: we do not expose options that allow the callback to be queued as an APC
1621
private static bool QueueUserWorkItemHelper(
WaitCallback
callBack, Object state, ref StackCrawlMark stackMark, bool compressStack )
system\threading\timer.cs (2)
430
WaitCallback
callback = s_fireQueuedTimerCompletion;
439
private static
WaitCallback
s_fireQueuedTimerCompletion;
PresentationCore (4)
Shared\MS\Internal\SafeSecurityHelper.cs (4)
164
static readonly
WaitCallback
_cleanupCollectedAssemblies = CleanupCollectedAssemblies;
514
WaitCallback
callback;
517
GCNotificationToken(
WaitCallback
callback, object state)
529
internal static void RegisterCallback(
WaitCallback
callback, object state)
SMSvcHost (2)
System\ServiceModel\Activation\DupHandleConnectionReader.cs (1)
21
static
WaitCallback
readCallback;
System\ServiceModel\Activation\ListenerConnectionModeReader.cs (1)
22
static
WaitCallback
readCallback;
System (11)
net\System\Net\_Connection.cs (2)
86
private static readonly
WaitCallback
s_InvokeConnectionCallback = new WaitCallback(InvokeConnectionCallback);
298
private static readonly
WaitCallback
m_PostReceiveDelegate = new WaitCallback(PostReceiveWrapper);
net\System\Net\DNS.cs (1)
644
private static
WaitCallback
resolveCallback = new WaitCallback(ResolveCallback);
net\System\Net\filewebrequest.cs (2)
19
private static
WaitCallback
s_GetRequestStreamCallback = new WaitCallback(GetRequestStreamCallback);
20
private static
WaitCallback
s_GetResponseCallback = new WaitCallback(GetResponseCallback);
net\System\Net\HttpWebRequest.cs (2)
128
private static readonly
WaitCallback
s_EndWriteHeaders_Part2Callback = new WaitCallback(EndWriteHeaders_Part2Wrapper);
132
private static readonly
WaitCallback
s_AbortWrapper = new WaitCallback(AbortWrapper);
net\System\Net\NetWebProxyFinder.cs (1)
26
private static readonly
WaitCallback
abortWrapper = new WaitCallback(AbortWrapper);
sys\system\io\ports\SerialStream.cs (3)
1679
WaitCallback
callErrorEvents;
1680
WaitCallback
callReceiveEvents;
1681
WaitCallback
callPinEvents;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\TaskDispatcher.cs (1)
29
internal virtual void DispatchWorkOnBackgroundThread(
WaitCallback
work, object state)
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TaskDispatcher.cs (1)
29
internal virtual void DispatchWorkOnBackgroundThread(
WaitCallback
work, object state)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
442
private readonly
WaitCallback
_poolCreateRequest;
System.IdentityModel.Selectors (2)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
188
public static
WaitCallback
ThunkCallback(
WaitCallback
callback)
System.IO.Log (1)
System\IO\Log\OverlappedAsyncResult.cs (1)
209
static
WaitCallback
InvokeUserCallback = Fx.ThunkCallback(new WaitCallback(InvokeUserCallbackFunction));
System.Runtime.Remoting (4)
channels\core\requestqueue.cs (1)
33
private
WaitCallback
_workItemCallback;
channels\core\socketmanager.cs (3)
43
private
WaitCallback
_dataArrivedCallback; // callback to signal once data is available
203
public
WaitCallback
DataArrivedCallback
332
WaitCallback
waitCallback = _dataArrivedCallback;
System.ServiceModel (86)
System\ServiceModel\Administration\WbemProvider.cs (3)
1013
WaitCallback
callback;
1018
public ThreadJob(
WaitCallback
callback, object state)
1057
internal static void MTAExecute(
WaitCallback
callback, object state)
System\ServiceModel\Channels\BufferedConnection.cs (1)
249
WaitCallback
callback, object state)
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
1634
static
WaitCallback
scheduleAcceptStatic = new WaitCallback(ScheduleAcceptStatic);
System\ServiceModel\Channels\Connection.cs (11)
28
WaitCallback
callback, object state);
34
AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
WaitCallback
callback, object state);
131
WaitCallback
callback, object state)
157
WaitCallback
callback, object state)
223
public override AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
WaitCallback
callback, object state)
443
static
WaitCallback
onAsyncIOComplete;
452
protected
WaitCallback
GetWaitCompletion()
556
WaitCallback
readCallback;
557
WaitCallback
writeCallback;
685
WaitCallback
callback, object state)
818
public AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
WaitCallback
callback, object state)
System\ServiceModel\Channels\ConnectionModeReader.cs (1)
21
static
WaitCallback
readCallback;
System\ServiceModel\Channels\FramingChannels.cs (9)
94
protected override AsyncCompletionResult BeginCloseOutput(TimeSpan timeout,
WaitCallback
callback, object state)
105
protected override AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout,
WaitCallback
callback, object state)
111
protected override AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout,
WaitCallback
callback, object state)
427
static
WaitCallback
onReadPreambleAck = new WaitCallback(OnReadPreambleAck);
428
static
WaitCallback
onWritePreamble = Fx.ThunkCallback(new WaitCallback(OnWritePreamble));
429
static
WaitCallback
onWritePreambleEnd;
1096
static
WaitCallback
onReadFaultData = new WaitCallback(OnReadFaultData);
1200
static
WaitCallback
onReadUpgradeResponse = new WaitCallback(OnReadUpgradeResponse);
1202
static
WaitCallback
onWriteUpgradeBytes = Fx.ThunkCallback(new WaitCallback(OnWriteUpgradeBytes));
System\ServiceModel\Channels\IMessageSource.cs (2)
17
AsyncReceiveResult BeginReceive(TimeSpan timeout,
WaitCallback
callback, object state);
21
AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout,
WaitCallback
callback, object state);
System\ServiceModel\Channels\PipeConnection.cs (6)
54
WaitCallback
asyncReadCallback;
64
WaitCallback
asyncWriteCallback;
232
WaitCallback
callback, object state)
329
WaitCallback
callback, object state)
847
WaitCallback
callback;
917
WaitCallback
callback;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
290
WaitCallback
callback;
299
public InterruptibleTimer(TimeSpan defaultInterval,
WaitCallback
callback, object state)
System\ServiceModel\Channels\SessionConnectionReader.cs (9)
39
static
WaitCallback
readCallback;
666
static
WaitCallback
readCallback;
667
static
WaitCallback
onWriteAckResponse;
668
static
WaitCallback
onWriteUpgradeResponse;
1113
WaitCallback
onAsyncReadComplete;
1116
WaitCallback
pendingCallback;
1202
public AsyncReceiveResult BeginReceive(TimeSpan timeout,
WaitCallback
callback, object state)
1360
public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout,
WaitCallback
callback, object state)
1479
WaitCallback
callback = pendingCallback;
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
36
WaitCallback
onAsyncReadComplete;
311
static
WaitCallback
onReadCompleted = new WaitCallback(OnReadCompleted);
312
static
WaitCallback
onWriteCompleted = new WaitCallback(OnWriteCompleted);
1717
static
WaitCallback
onWriteBufferedMessage;
1718
static
WaitCallback
onWriteStartBytes;
1720
static
WaitCallback
onWriteEndBytes =
System\ServiceModel\Channels\SocketConnection.cs (8)
48
static
WaitCallback
onWaitForFinComplete = new WaitCallback(OnWaitForFinComplete);
56
WaitCallback
asyncReadCallback;
63
WaitCallback
asyncWriteCallback;
850
WaitCallback
callback, object state)
1008
WaitCallback
asyncWriteCallback = this.asyncWriteCallback;
1144
WaitCallback
callback, object state)
1152
WaitCallback
callback, object state)
1342
WaitCallback
asyncReadCallback = this.asyncReadCallback;
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (3)
207
static
WaitCallback
onWritePreamble = Fx.ThunkCallback(new WaitCallback(OnWritePreamble));
208
static
WaitCallback
onWritePreambleEnd;
209
static
WaitCallback
onReadPreambleAck = new WaitCallback(OnReadPreambleAck);
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
201
static
WaitCallback
onReceiveComplete = new WaitCallback(OnReceiveComplete);
245
static
WaitCallback
onWaitForMessageComplete = new WaitCallback(OnWaitForMessageComplete);
System\ServiceModel\Channels\TracingConnection.cs (6)
17
static
WaitCallback
callback;
59
static
WaitCallback
Callback
113
public override AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
WaitCallback
callback, object state)
159
public override AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, System.Threading.
WaitCallback
callback, object state)
197
WaitCallback
callback;
200
internal TracingConnectionState(
WaitCallback
callback, ServiceModelActivity activity, object state)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (5)
493
protected abstract AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout,
WaitCallback
callback, object state);
495
protected abstract AsyncCompletionResult BeginCloseOutput(TimeSpan timeout,
WaitCallback
callback, object state);
505
protected abstract AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout,
WaitCallback
callback, object state);
878
static
WaitCallback
onWriteComplete = Fx.ThunkCallback(new WaitCallback(OnWriteComplete));
1034
static
WaitCallback
onWriteComplete = Fx.ThunkCallback(new WaitCallback(OnWriteComplete));
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (7)
29
WaitCallback
waitCallback;
204
protected override AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, Threading.
WaitCallback
callback, object state)
259
protected override AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout,
WaitCallback
callback, object state)
281
protected override AsyncCompletionResult BeginCloseOutput(TimeSpan timeout, Threading.
WaitCallback
callback, object state)
569
public AsyncReceiveResult BeginReceive(TimeSpan timeout,
WaitCallback
callback, object state)
746
public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, Threading.
WaitCallback
callback, object state)
1391
public async void WriteEndOfMessageAsync(TimeSpan timeout,
WaitCallback
callback, object state)
System\ServiceModel\Dispatcher\FlowThrottle.cs (2)
22
WaitCallback
release;
30
internal FlowThrottle(
WaitCallback
release, int capacity, String propertyName, String configName)
System\ServiceModel\Dispatcher\QuotaThrottle.cs (2)
19
WaitCallback
release;
25
internal QuotaThrottle(
WaitCallback
release, object mutex)
System.ServiceModel.Internals (5)
System\Runtime\Fx.cs (5)
373
public static
WaitCallback
ThunkCallback(
WaitCallback
callback)
1118
sealed class WaitThunk : Thunk<
WaitCallback
>
1120
public WaitThunk(
WaitCallback
callback) : base(callback)
1124
public
WaitCallback
ThunkFrame
System.Transactions (16)
System\Transactions\TransactionState.cs (4)
3698
private static volatile
WaitCallback
signalMethod;
3699
private static
WaitCallback
SignalMethod
4849
private static volatile
WaitCallback
signalMethod;
4850
private static
WaitCallback
SignalMethod
System\Transactions\VolatileEnlistmentMultiplexing.cs (12)
88
private static volatile
WaitCallback
prepareCallback;
89
private static
WaitCallback
PrepareCallback
99
WaitCallback
temp = new WaitCallback( PoolablePrepare );
147
private static volatile
WaitCallback
commitCallback;
148
private static
WaitCallback
CommitCallback
158
WaitCallback
temp = new WaitCallback( PoolableCommit );
208
private static volatile
WaitCallback
rollbackCallback;
209
private static
WaitCallback
RollbackCallback
219
WaitCallback
temp = new WaitCallback( PoolableRollback );
267
private static volatile
WaitCallback
inDoubtCallback;
268
private static
WaitCallback
InDoubtCallback
278
WaitCallback
temp = new WaitCallback( PoolableInDoubt );
System.Web (25)
AspNetSynchronizationContext.cs (1)
125
internal override bool PendingCompletion(
WaitCallback
callback) {
AspNetSynchronizationContextBase.cs (2)
37
internal abstract bool PendingCompletion(
WaitCallback
callback);
46
WaitCallback
callback = _ => {
Compilation\ClientBuildManager.cs (2)
119
private
WaitCallback
_onAppDomainUnloadedCallback;
120
private
WaitCallback
_onAppDomainShutdown;
Hosting\ApplicationManager.cs (2)
86
private
WaitCallback
_onRespondToPingWaitCallback;
1537
private static readonly
WaitCallback
_tpCallback = ResumeCallback;
Hosting\HostingEnvironment.cs (1)
146
private
WaitCallback
_initiateShutdownWorkItemCallback;
Hosting\SuspendManager.cs (1)
110
private static readonly
WaitCallback
_quwiThunk = (state) => ((Action)state)();
HttpApplication.cs (6)
121
private
WaitCallback
_resumeStepsWaitCallback;
3787
internal abstract void BuildSteps(
WaitCallback
stepCallback);
3806
private
WaitCallback
_resumeStepsWaitCallback;
3815
internal override void BuildSteps(
WaitCallback
stepCallback ) {
3996
WaitCallback
_resumeStepsWaitCallback;
4003
internal override void BuildSteps(
WaitCallback
stepCallback) {
HttpContext.cs (1)
1840
internal void InvokeCancellableCallback(
WaitCallback
callback, Object state) {
HttpRuntime.cs (1)
231
private
WaitCallback
_appDomainUnloadallback;
LegacyAspNetSynchronizationContext.cs (3)
28
private
WaitCallback
_lastCompletionCallback;
98
internal override bool PendingCompletion(
WaitCallback
callback) {
175
WaitCallback
callback = null;
RequestQueue.cs (1)
36
private
WaitCallback
_workItemCallback;
UI\LegacyPageAsyncTaskManager.cs (1)
29
private
WaitCallback
_resumeTasksCallback;
UI\Page.cs (1)
5764
private
WaitCallback
_callHandlersThreadpoolCallback;
Util\WithinCancellableCallbackTaskAwaitable.cs (1)
33
private static readonly
WaitCallback
_shunt = state => ((Action)state)();
Util\WorkItem.cs (1)
30
private static
WaitCallback
_onQueueUserWorkItemCompletion = new WaitCallback(OnQueueUserWorkItemCompletion);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Control.cs (2)
7454
else if (tme.method is
WaitCallback
)
7458
((
WaitCallback
)tme.method)(tme.args[0]);
System.Workflow.ComponentModel (2)
AuthoringOM\ActivityInterfaces.cs (2)
168
WaitCallback
ProcessTimersCallback { get; }
173
void ScheduleTimer(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
System.Workflow.Runtime (19)
Hosting\DefaultWorkflowSchedulerService.cs (8)
96
internal protected override void Schedule(
WaitCallback
callback, Guid workflowInstanceId)
109
internal protected override void Schedule(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId)
315
private
WaitCallback
callback;
318
public WorkItem(
WaitCallback
callback, object state)
324
public
WaitCallback
Callback
352
WaitCallback
callback;
357
public CallbackInfo(WorkflowSchedulerService service,
WaitCallback
callback, object state, DateTime when)
380
public
WaitCallback
Callback
Hosting\ManualWorkflowSchedulerService.cs (5)
17
WaitCallback
callback;
22
public CallbackInfo(
WaitCallback
callback, Guid instanceId, Guid timerId, DateTime when)
44
public
WaitCallback
Callback
103
internal protected override void Schedule(
WaitCallback
callback, Guid workflowInstanceId)
125
internal protected override void Schedule(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId)
Hosting\WorkflowSchedulerService.cs (2)
9
internal protected abstract void Schedule(
WaitCallback
callback, Guid workflowInstanceId);
10
internal protected abstract void Schedule(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId);
Hosting\WorkflowTimerService.cs (1)
17
public void ScheduleTimer(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId)
System\Activities\Statements\InteropExecutor.cs (2)
170
public
WaitCallback
ProcessTimersCallback
1026
public void ScheduleTimer(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId)
WorkflowExecutor.cs (1)
2793
WaitCallback
IWorkflowCoreRuntime.ProcessTimersCallback
System.WorkflowServices (7)
System\ServiceModel\Dispatcher\WorkflowInstanceContextProvider.cs (1)
20
WaitCallback
workflowActivationCompleteCallback;
System\ServiceModel\Dispatcher\WorkflowInstanceLifeTimeManagerExtension.cs (4)
97
public void NotifyWorkflowActivationComplete(Guid instanceId,
WaitCallback
callback, object state, bool fireImmediatelyIfDontExist)
149
WaitCallback
callback = null;
341
WaitCallback
instanceActivationCompletedCallBack;
345
public
WaitCallback
Callback
System\Workflow\Runtime\Hosting\SynchronizationContextWorkflowSchedulerService.cs (2)
36
protected internal override void Schedule(
WaitCallback
callback, Guid workflowInstanceId, DateTime whenUtc, Guid timerId)
49
protected internal override void Schedule(
WaitCallback
callback, Guid workflowInstanceId)
WindowsBase (4)
Shared\MS\Internal\SafeSecurityHelper.cs (4)
164
static readonly
WaitCallback
_cleanupCollectedAssemblies = CleanupCollectedAssemblies;
514
WaitCallback
callback;
517
GCNotificationToken(
WaitCallback
callback, object state)
529
internal static void RegisterCallback(
WaitCallback
callback, object state)