2 instantiations of ProxyOperationRuntime
System.ServiceModel (2)
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
42
this.unhandled = new
ProxyOperationRuntime
(behavior.UnhandledClientOperation, this);
51
ProxyOperationRuntime operationRuntime = new
ProxyOperationRuntime
(operation, this);
57 references to ProxyOperationRuntime
System.ServiceModel (57)
System\ServiceModel\Channels\ServiceChannel.cs (16)
383
ProxyOperationRuntime
UnhandledProxyOperation
576
void PrepareCall(
ProxyOperationRuntime
operation, bool oneway, ref ProxyRpc rpc)
729
internal static IAsyncResult BeginCall(ServiceChannel channel,
ProxyOperationRuntime
operation, object[] ins, AsyncCallback callback, object asyncState)
736
internal IAsyncResult BeginCall(string action, bool oneway,
ProxyOperationRuntime
operation, object[] ins, AsyncCallback callback, object asyncState)
741
internal IAsyncResult BeginCall(string action, bool oneway,
ProxyOperationRuntime
operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState)
778
internal object Call(string action, bool oneway,
ProxyOperationRuntime
operation, object[] ins, object[] outs)
783
internal object Call(string action, bool oneway,
ProxyOperationRuntime
operation, object[] ins, object[] outs, TimeSpan timeout)
974
void HandleReply(
ProxyOperationRuntime
operation, ref ProxyRpc rpc)
1163
void ThrowIfIdleAborted(
ProxyOperationRuntime
operation)
1173
void ThrowIfIsConnectionOpened(
ProxyOperationRuntime
operation)
1280
ProxyOperationRuntime
operation = UnhandledProxyOperation;
1291
ProxyOperationRuntime
operation = UnhandledProxyOperation;
1307
ProxyOperationRuntime
operation = UnhandledProxyOperation;
1318
ProxyOperationRuntime
operation = this.UnhandledProxyOperation;
1889
readonly
ProxyOperationRuntime
operation;
1897
internal SendAsyncResult(ServiceChannel channel,
ProxyOperationRuntime
operation,
System\ServiceModel\Channels\ServiceChannelProxy.cs (24)
119
ProxyOperationRuntime
operation = this.proxyRuntime.GetOperation(method, methodCall.Args, out canCacheMessageData);
209
static readonly Func<ServiceChannel,
ProxyOperationRuntime
, object[], AsyncCallback, object, IAsyncResult> beginCallDelegate = ServiceChannel.BeginCall;
211
static readonly MethodInfo createGenericTaskMI = typeof(TaskCreator).GetMethod("CreateGenericTask", new Type[] { typeof(ServiceChannel), typeof(
ProxyOperationRuntime
), typeof(object[]) });
213
static Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task> GetOrCreateTaskDelegate(Type taskResultType)
215
Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task> createTaskDelegate = createGenericTaskDelegateCache[taskResultType] as Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task>;
223
createTaskDelegate = createGenericTaskDelegateCache[taskResultType] as Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task>;
230
createTaskDelegate = Delegate.CreateDelegate(typeof(Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task>), methodInfo) as Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task>;
237
public static Task CreateTask(ServiceChannel channel, IMethodCallMessage methodCall,
ProxyOperationRuntime
operation)
246
static Task CreateGenericTask(ServiceChannel channel,
ProxyOperationRuntime
operation, object[] inputParameters)
248
Func<ServiceChannel,
ProxyOperationRuntime
, object[], Task> createTaskDelegate = GetOrCreateTaskDelegate(operation.TaskTResult);
252
static Task CreateTask(ServiceChannel channel,
ProxyOperationRuntime
operation, object[] inputParameters)
261
channel.EndCall(operation.Action,
ProxyOperationRuntime
.EmptyArray, asyncResult);
272
public static Task<T> CreateGenericTask<T>(ServiceChannel channel,
ProxyOperationRuntime
operation, object[] inputParameters)
280
return (T)channel.EndCall(operation.Action,
ProxyOperationRuntime
.EmptyArray, asyncResult);
288
return Task<T>.Factory.FromAsync<ServiceChannel,
ProxyOperationRuntime
, object[]>(beginCallDelegate, endCallDelegate, channel, operation, inputParameters, OperationContext.Current);
292
IMessage InvokeTaskService(IMethodCallMessage methodCall,
ProxyOperationRuntime
operation)
337
IMethodReturnMessage InvokeBeginService(IMethodCallMessage methodCall,
ProxyOperationRuntime
operation)
346
IMethodReturnMessage InvokeEndService(IMethodCallMessage methodCall,
ProxyOperationRuntime
operation)
356
IMethodReturnMessage InvokeService(IMethodCallMessage methodCall,
ProxyOperationRuntime
operation)
487
ProxyOperationRuntime
operation;
494
public MethodData(MethodBase methodBase, MethodType methodType,
ProxyOperationRuntime
operation)
511
public
ProxyOperationRuntime
Operation
System\ServiceModel\ClientBase.cs (4)
1136
ProxyOperationRuntime
op = GetOperationByName(methodName);
1151
ProxyOperationRuntime
op = GetOperationByName(methodName);
1164
System.ServiceModel.Dispatcher.
ProxyOperationRuntime
GetOperationByName(string methodName)
1166
ProxyOperationRuntime
op = this.runtime.GetOperationByName(methodName);
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
348
ProxyOperationRuntime
operationRuntime = channelBuilderSettings.ServiceChannel.ClientRuntime.GetRuntime().GetOperationByName(opDesc.Name);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
808
if ((reply != null) && (!
ProxyOperationRuntime
.IsValidAction(reply, this.ReplyAction)))
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (9)
27
Dictionary<string,
ProxyOperationRuntime
> operations;
28
ProxyOperationRuntime
unhandled;
46
this.operations = new Dictionary<string,
ProxyOperationRuntime
>();
51
ProxyOperationRuntime
operationRuntime = new ProxyOperationRuntime(operation, this);
78
internal
ProxyOperationRuntime
UnhandledProxyOperation
235
internal
ProxyOperationRuntime
GetOperation(MethodBase methodBase, object[] args, out bool canCacheResult)
271
ProxyOperationRuntime
operation;
297
internal
ProxyOperationRuntime
GetOperationByName(string operationName)
299
ProxyOperationRuntime
operation = null;
System\ServiceModel\Dispatcher\ProxyRpc.cs (2)
21
internal readonly
ProxyOperationRuntime
Operation;
30
internal ProxyRpc(ServiceChannel channel,
ProxyOperationRuntime
operation, string action, object[] inputs, TimeSpan timeout)