1 write to Error
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\AsyncCompletedEvent.cs (1)
15Error = error;
32 references to Error
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\MyServices\Internal\WebClientCopy.vb (3)
102If e.Error IsNot Nothing Then 103_exceptionEncounteredDuringFileTransfer = e.Error 105If Not e.Cancelled AndAlso e.Error Is Nothing Then
PresentationFramework (19)
MS\Internal\AppModel\AppModelKnownContentFactory.cs (2)
120if ((!args.Cancelled) && (args.Error != null)) 122throw args.Error;
MS\Internal\Documents\DocumentGridPage.cs (1)
307e.Error == null &&
MS\Internal\Documents\PageCache.cs (2)
562if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing) 605if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
246if (!e.Cancelled && e.Error == null && e.DocumentPage != DocumentPage.Missing) 252e = new GetPageCompletedEventArgs(documentPage, e.PageNumber, e.Error, e.Cancelled, e.UserState);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
718if (!_disposed && (e != null) && !e.Cancelled && e.Error == null)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1105if (!e.Cancelled && (e.Error == null))
System\Windows\Controls\SinglePageViewer.cs (1)
994if (!e.Cancelled && e.Error == null && e.UserState == _bringContentPositionIntoViewToken)
System\Windows\Documents\DocumentSequence.cs (2)
893if (!args.Cancelled && (args.Error == null) && (args.DocumentPage != DocumentPage.Missing)) 915_NotifyGetPageAsyncCompleted(sdp, pageNumber, args.Error, asyncRequest.Cancelled, asyncRequest.UserState);
System\Windows\Documents\FixedDocument.cs (2)
1229if (!args.Cancelled && (args.Error == null)) 1239_NotifyGetPageAsyncCompleted(result, asyncRequest.PageNumber, args.Error, asyncRequest.Cancelled, asyncRequest.UserState);
System\windows\Documents\TextEditor.cs (1)
1500if (e != null && !e.Cancelled && e.Error == null)
System\windows\Documents\TextEditorSelection.cs (4)
1768if (e != null && !e.Cancelled && e.Error == null) 1798if (e != null && !e.Cancelled && e.Error == null) 1830if (e != null && !e.Cancelled && e.Error == null) 1893if (e != null && !e.Cancelled && e.Error == null)
System.ComponentModel.EventBasedAsync (2)
System\ComponentModel\AsyncCompletedEvent.cs (2)
21if (Error != null) 23throw new TargetInvocationException(SR.Async_ExceptionOccurred, Error);
System.Net.Mail (2)
System\Net\Mail\SmtpClient.cs (2)
762if (e.Error != null) tcs.TrySetException(e.Error);
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
1798if (e.Error != null) tcs.TrySetException(e.Error);
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
618if (!e.Cancelled && e.Error is null)
WinFormsControlsTest (3)
PictureBoxes.cs (3)
53if (e.Error is not null) 55MessageBox.Show(e.Error.Message, $"{e.Error.GetType().FullName} occurred");