3 instantiations of ServiceChannel
System.ServiceModel (3)
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
329ServiceChannel serviceChannel = new ServiceChannel(this, binder);
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
661endpoint.DatagramChannel = new ServiceChannel(this.binder, endpoint, this.listener.ChannelDispatcher, this.idleManager); 688this.channel = new ServiceChannel(this.binder, endpoint, this.listener.ChannelDispatcher, this.idleManager);
95 references to ServiceChannel
System.ServiceModel (95)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
362ServiceChannel serviceChannel = ServiceChannelFactory.GetServiceChannel(channel);
System\ServiceModel\ChannelFactory.cs (1)
917ServiceChannel serviceChannel = ServiceChannelFactory.GetServiceChannel(channel);
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\ServiceChannelFactory.cs (5)
326public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via) 329ServiceChannel serviceChannel = new ServiceChannel(this, binder); 378ServiceChannel serviceChannel = this.CreateServiceChannel(address, via); 396internal static object CreateProxy(Type interfaceType, Type proxiedType, MessageDirection direction, ServiceChannel serviceChannel) 409internal static ServiceChannel GetServiceChannel(object transparentProxy)
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\ClientBase.cs (2)
1108ServiceChannel channel; 1423ServiceChannel IChannelBaseProxy.GetServiceChannel()
System\ServiceModel\ComIntegration\IProvideChannelBuilderSettings.cs (1)
27ServiceChannel ServiceChannel
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (4)
34volatile ServiceChannel serviceChannel = null; 52ServiceChannel IProvideChannelBuilderSettings.ServiceChannel 93ServiceChannel CreateChannel() 120ServiceChannel localChannel = serviceChannelFactory.CreateServiceChannel(new EndpointAddress(serviceEndpoint.Address.Uri, serviceEndpoint.Address.Identity, serviceEndpoint.Address.Headers), serviceEndpoint.Address.Uri);
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (1)
81ServiceChannel IProvideChannelBuilderSettings.ServiceChannel
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (3)
32ServiceChannel serviceChannel = null; 50ServiceChannel IProvideChannelBuilderSettings.ServiceChannel 92private ServiceChannel CreateChannel()
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;
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
823ServiceChannel serviceChannel = OperationContext.Current.InternalServiceChannel;
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (2)
21ServiceChannel datagramChannel; 140internal ServiceChannel DatagramChannel
System\ServiceModel\Dispatcher\IInstanceContextProvider.cs (3)
67internal ServiceChannel GetServiceChannelFromProxy(IContextChannel channel) 69ServiceChannel serviceChannel = channel as ServiceChannel;
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (4)
189internal void DisplayInitializationUI(ServiceChannel channel) 194internal IAsyncResult BeginDisplayInitializationUI(ServiceChannel channel, AsyncCallback callback, object state) 308ServiceChannel channel; 315internal DisplayInitializationUIAsyncResult(ServiceChannel channel,
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (5)
626internal void InputSessionDoneReceiving(ServiceChannel channel) 634void InputSessionDoneReceivingCore(ServiceChannel channel) 667internal void InputSessionFaulted(ServiceChannel channel) 675void InputSessionFaultedCore(ServiceChannel channel) 714void AddMessageProperties(Message message, OperationContext context, ServiceChannel replyChannel)
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
15using SessionIdleManager = System.ServiceModel.Channels.ServiceChannel.SessionIdleManager;
System\ServiceModel\Dispatcher\MessageRpc.cs (2)
27internal readonly ServiceChannel Channel; 82ServiceChannel channel, ServiceHostBase host, ChannelHandler channelHandler, bool cleanThread,
System\ServiceModel\Dispatcher\PerSessionInstanceContextProvider.cs (2)
29ServiceChannel serviceChannel = this.GetServiceChannelFromProxy(channel); 36ServiceChannel serviceChannel = GetServiceChannelFromProxy(channel);
System\ServiceModel\Dispatcher\ProxyRpc.cs (2)
18internal readonly ServiceChannel Channel; 30internal ProxyRpc(ServiceChannel channel, ProxyOperationRuntime operation, string action, object[] inputs, TimeSpan timeout)
System\ServiceModel\Dispatcher\SingletonInstanceContextProvider.cs (1)
70ServiceChannel serviceChannel = this.GetServiceChannelFromProxy(channel);
System\ServiceModel\IChannelBaseProxy.cs (1)
15ServiceChannel GetServiceChannel();
System\ServiceModel\InstanceContext.cs (2)
331internal void BindIncomingChannel(ServiceChannel channel) 626internal void UnbindIncomingChannel(ServiceChannel channel)
System\ServiceModel\OperationContext.cs (6)
23ServiceChannel channel; 47ServiceChannel serviceChannel = channel as ServiceChannel; 80internal OperationContext(RequestContext requestContext, Message request, ServiceChannel channel, ServiceHostBase host) 194internal ServiceChannel InternalServiceChannel 413internal void ReInit(RequestContext requestContext, Message request, ServiceChannel channel)