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