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