44 references to UserState
PresentationFramework (12)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1752
if (e.
UserState
is MakeVisibleData)
1754
MakeVisibleData data = (MakeVisibleData)e.
UserState
;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
267
e = new GetPageCompletedEventArgs(documentPage, e.PageNumber, e.Error, e.Cancelled, e.
UserState
);
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
730
if (e.PageNumber == this.PageNumber && e.
UserState
== this)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1124
bringIntoViewState = e.
UserState
as BringIntoViewState;
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 (1)
917
GetPageAsyncRequest completedRequest = (GetPageAsyncRequest)args.
UserState
;
src\Framework\System\windows\Documents\TextEditor.cs (1)
1536
Invariant.Assert(e.
UserState
== this && this.TextView == sender);
src\Framework\System\windows\Documents\TextEditorSelection.cs (4)
1794
TextEditor This = e.
UserState
as TextEditor;
1824
TextEditor This = e.
UserState
as TextEditor;
1856
This = e.
UserState
as TextEditor;
1919
This = e.
UserState
as TextEditor;
System (4)
compmod\system\componentmodel\RunWorkerCompletedEventArgs.cs (1)
39
return base.
UserState
;
net\System\Net\mail\SmtpClient.cs (1)
752
if (e.
UserState
== tcs)
net\System\Net\NetworkInformation\ping.cs (1)
566
if (e.
UserState
== tcs)
net\System\Net\webclient.cs (1)
2911
if (e.
UserState
== tcs)
System.Net (7)
net\PeerToPeer\Collaboration\ContactManager.cs (1)
1604
m_createContactAsyncList.Remove(args.
UserState
);
net\PeerToPeer\Collaboration\Peer.cs (3)
863
InviteAsyncHelper helper = m_inviteAsyncHelperList[args.
UserState
];
868
"userState {0} is being removed from the pending async list", args.
UserState
.GetHashCode());
869
m_inviteAsyncHelperList.Remove(args.
UserState
);
net\PeerToPeer\PeerNameResolver.cs (3)
865
PeerNameResolverHelper helper = m_PeerNameResolverHelperList[args.
UserState
];
873
"userState {0} is being removed from the pending async list", args.
UserState
.GetHashCode());
874
m_PeerNameResolverHelperList.Remove(args.
UserState
);
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\DiscoveryClient.cs (2)
1147
if (e.
UserState
is SyncOperationState)
1149
SyncOperationState syncOperationState = (SyncOperationState)e.
UserState
;
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
));