2 types derived from AsyncOperationContext
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\DiscoveryClient.cs (2)
1319
class FindAsyncOperationContext :
AsyncOperationContext
1371
class ResolveAsyncOperationContext :
AsyncOperationContext
39 references to AsyncOperationContext
System.ServiceModel.Discovery (39)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (14)
20
Dictionary<UniqueId,
AsyncOperationContext
> activeOperations;
25
this.activeOperations = new Dictionary<UniqueId,
AsyncOperationContext
>();
44
public bool TryAdd(
AsyncOperationContext
context)
64
public
AsyncOperationContext
[] Abort()
66
AsyncOperationContext
[] retValue = null;
73
return new
AsyncOperationContext
[] { };
80
retValue = new
AsyncOperationContext
[this.activeOperations.Count];
94
public bool TryLookup(UniqueId operationId, out
AsyncOperationContext
context)
106
public bool TryLookup<T>(UniqueId operationId, out T context) where T :
AsyncOperationContext
108
AsyncOperationContext
asyncContext = null;
122
public T Remove<T>(UniqueId operationId) where T :
AsyncOperationContext
124
AsyncOperationContext
context = null;
149
public bool TryRemoveUnique(object userState, out
AsyncOperationContext
context)
157
foreach (
AsyncOperationContext
value in this.activeOperations.Values)
System\ServiceModel\Discovery\DiscoveryClient.cs (17)
40
[Fx.Tag.Queue(typeof(
AsyncOperationContext
))]
508
AsyncOperationContext
context = null;
726
AsyncOperationContext
context = null;
820
AsyncOperationContext
context = new FindAsyncOperationContext(
867
AsyncOperationContext
context =
906
void InitializeAsyncOperation(
AsyncOperationContext
context)
939
AsyncOperationContext
context = (
AsyncOperationContext
)state;
945
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;
1030
AsyncOperationContext
context = (
AsyncOperationContext
)state;
1036
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;
1100
AsyncOperationContext
context,
1131
void StartTimer(
AsyncOperationContext
context, Action<object> operationTimeoutCallbackDelegate)
1176
AsyncOperationContext
[] activeOperations = this.asyncOperationsLifetimeManager.Abort();
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientManaged11.cs (4)
90
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;
108
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientManagedCD1.cs (4)
90
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;
108
AsyncOperationContext
context = (
AsyncOperationContext
)result.AsyncState;