49 references to Error
PresentationFramework (19)
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (2)
125
if ((! args.Cancelled) && (args.
Error
!= null))
127
throw args.
Error
;
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (1)
370
e.
Error
== null &&
src\Framework\MS\Internal\Documents\PageCache.cs (2)
574
if (!args.Cancelled && args.
Error
== null && args.DocumentPage != DocumentPage.Missing)
617
if (!args.Cancelled && args.
Error
== null && args.DocumentPage != DocumentPage.Missing )
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
261
if (!e.Cancelled && e.
Error
== null && e.DocumentPage != DocumentPage.Missing)
267
e = new GetPageCompletedEventArgs(documentPage, e.PageNumber, e.
Error
, e.Cancelled, e.UserState);
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
728
if (!_disposed && (e != null) && !e.Cancelled && e.
Error
== null)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1122
if (!e.Cancelled && (e.
Error
== null))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1004
if (!e.Cancelled && e.
Error
== null && e.UserState == _bringContentPositionIntoViewToken)
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
923
if (!args.Cancelled && (args.
Error
== null) && (args.DocumentPage != DocumentPage.Missing))
945
_NotifyGetPageAsyncCompleted(sdp, pageNumber, args.
Error
, asyncRequest.Cancelled, asyncRequest.UserState);
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
1279
if (!args.Cancelled && (args.
Error
== null))
1289
_NotifyGetPageAsyncCompleted(result, asyncRequest.PageNumber, args.
Error
, asyncRequest.Cancelled, asyncRequest.UserState);
src\Framework\System\windows\Documents\TextEditor.cs (1)
1534
if (e != null && !e.Cancelled && e.
Error
== null)
src\Framework\System\windows\Documents\TextEditorSelection.cs (4)
1792
if (e != null && !e.Cancelled && e.
Error
== null)
1822
if (e != null && !e.Cancelled && e.
Error
== null)
1854
if (e != null && !e.Cancelled && e.
Error
== null)
1917
if (e != null && !e.Cancelled && e.
Error
== null)
System (8)
compmod\system\componentmodel\AsyncCompletedEventArgs.cs (2)
58
if (
Error
!= null)
60
throw new TargetInvocationException(SR.GetString(SR.Async_ExceptionOccurred),
Error
);
net\System\Net\mail\SmtpClient.cs (2)
757
if (e.
Error
!= null) tcs.TrySetException(e.
Error
);
net\System\Net\NetworkInformation\ping.cs (2)
571
if (e.
Error
!= null) tcs.TrySetException(e.
Error
);
net\System\Net\webclient.cs (2)
2916
if (e.
Error
!= null) tcs.TrySetException(e.
Error
);
System.ServiceModel.Activities (13)
System\ServiceModel\Activities\WorkflowControlClient.cs (6)
448
new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
471
new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
493
runCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
514
suspendCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
534
unsuspendCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
554
terminateCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (7)
499
new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
522
new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
544
runCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
565
suspendCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
585
unsuspendCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
605
terminateCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
627
updateCompleted(this, new AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
System.ServiceModel.Discovery (8)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (2)
294
if (e.
Error
!= null ||
298
this.exception = e.
Error
;
System\ServiceModel\Discovery\Version11\AnnouncementInnerClient11.cs (2)
212
this.HelloOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
233
this.ByeOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
System\ServiceModel\Discovery\VersionApril2005\AnnouncementInnerClientApril2005.cs (2)
164
this.HelloOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
209
this.ByeOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
System\ServiceModel\Discovery\VersionCD1\AnnouncementInnerClientCD1.cs (2)
212
this.HelloOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
233
this.ByeOperationCompletedEventHandler(this, new System.ComponentModel.AsyncCompletedEventArgs(e.
Error
, e.Cancelled, e.UserState));
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PictureBox.cs (1)
705
if (!e.Cancelled && e.
Error
== null)