6 references to Register
mscorlib (2)
system\io\filestream.cs (2)
2642
readTask._registration = cancellationToken.
Register
(cancelReadHandler, readTask);
2694
writeTask._registration = cancellationToken.
Register
(cancelWriteHandler, writeTask);
System.ServiceModel (1)
System\ServiceModel\Channels\HttpPipelineCancellationTokenSource.cs (1)
20
this.Token.
Register
(onCancelled, this);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
1408
cancellationToken.
Register
(discoveryClient.cancelTaskCallbackDelegate, this);
WindowsBase (2)
Base\System\Windows\Threading\Dispatcher.cs (2)
1086
CancellationTokenRegistration cancellationRegistration = cancellationToken.
Register
(s => ((DispatcherOperation)s).Abort(), operation);
1488
ctTimeoutRegistration = ctTimeout.
Register
(s => ((DispatcherOperation)s).Abort(), operation);