10 references to UserState
System.ServiceModel.Discovery (10)
System\ServiceModel\Discovery\AsyncOperationContext.cs (1)
74
return (
UserState
is SyncOperationState);
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (1)
159
if (object.Equals(value.
UserState
, userState))
System\ServiceModel\Discovery\DiscoveryClient.cs (8)
607
new FindProgressChangedEventArgs(context.Progress, context.
UserState
, endpointDiscoveryMetadata, discoveryMessageSequence));
908
context.AsyncOperation = AsyncOperationManager.CreateOperation(context.
UserState
);
985
FindCompletedEventArgs e = new FindCompletedEventArgs(error, cancelled, context.
UserState
, context.Result);
988
this.DispatchToTaskAyncOperation<FindResponse>(context.
UserState
, context.Result, error, cancelled) ||
1075
ResolveCompletedEventArgs e = new ResolveCompletedEventArgs(error, cancelled, context.
UserState
, context.Result);
1078
this.DispatchToTaskAyncOperation<ResolveResponse>(context.
UserState
, context.Result, error, cancelled) ||
1330
if (this.
UserState
!= null)
1332
Type userStateType = this.
UserState
.GetType();