10 references to Register
System (10)
net\System\Net\WebSockets\ClientWebSocket.cs (2)
160connectCancellation = cancellationToken.Register(AbortRequest, request, false); 254cts.Token.Register(AbortRequest, request, false);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (4)
114cancellationTokenRegistration = linkedCancellationToken.Register(s_OnCancel, this, false); 212cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false); 258cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false); 327cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false);
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (4)
151cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false); 375cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false); 438cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false); 628cancellationTokenRegistration = cancellationToken.Register(s_OnCancel, this, false);