System\ServiceModel\Channels\ServiceChannel.cs (15)
729internal static IAsyncResult BeginCall(ServiceChannel channel, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState)
1897internal SendAsyncResult(ServiceChannel channel, ProxyOperationRuntime operation,
2149void Call(ServiceChannel channel, TimeSpan timeout);
2150IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
2151void EndCall(ServiceChannel channel, IAsyncResult result);
2179void ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
2185IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2191void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
2213void ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
2218IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2223void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
2232readonly ServiceChannel channel;
2238internal CallOnceManager(ServiceChannel channel, ICallOnce callOnce)
2573ServiceChannel channel;
2628internal void RegisterChannel(ServiceChannel channel, out bool didIdleAbort)
System\ServiceModel\Channels\ServiceChannelProxy.cs (18)
32ServiceChannel serviceChannel;
37internal ServiceChannelProxy(Type interfaceType, Type proxiedType, MessageDirection direction, ServiceChannel serviceChannel)
159internal ServiceChannel GetServiceChannel()
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)
272public static Task<T> CreateGenericTask<T>(ServiceChannel channel, ProxyOperationRuntime operation, object[] inputParameters)
288return Task<T>.Factory.FromAsync<ServiceChannel, ProxyOperationRuntime, object[]>(beginCallDelegate, endCallDelegate, channel, operation, inputParameters, OperationContext.Current);
System\ServiceModel\Dispatcher\ChannelHandler.cs (12)
22using SessionIdleManager = System.ServiceModel.Channels.ServiceChannel.SessionIdleManager;
49ServiceChannel channel;
73internal ChannelHandler(MessageVersion messageVersion, IChannelBinder binder, ServiceChannel channel)
216internal ServiceChannel Channel
385ServiceChannel channel = this.requestInfo.Channel;
645ServiceChannel GetDatagramChannel(Message message, out EndpointDispatcher endpoint, out bool addressMatched)
675ServiceChannel GetSessionChannel(Message message, out EndpointDispatcher endpoint, out bool addressMatched)
706void InitializeServiceChannel(ServiceChannel channel)
792bool HandleError(Exception e, RequestContext request, ServiceChannel channel)
808bool HandleErrorContinuation(Exception e, RequestContext request, ServiceChannel channel, ref ErrorHandlerFaultInfo faultInfo, bool replied)
2015public ServiceChannel Channel;
2081public ServiceChannel Channel;