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