System.ServiceModel.MonoInternal.DuplexClientRuntimeChannel.ProcessInput C# (CSharp) Метод

ProcessInput() публичный Метод

public ProcessInput ( IInputChannel input, Message message ) : void
input IInputChannel
message Message
Результат void
		void ProcessInput (IInputChannel input, Message message)
		{
			try {
				if (!MessageMatchesEndpointDispatcher (message, Runtime.CallbackDispatchRuntime.EndpointDispatcher))
					throw new EndpointNotFoundException (String.Format ("The request message has the target '{0}' with action '{1}' which is not reachable in this service contract", message.Headers.To, message.Headers.Action));
				new InputOrReplyRequestProcessor (Runtime.CallbackDispatchRuntime, input).ProcessInput (message);
			} catch (Exception ex) {
				// FIXME: log it.
				Console.WriteLine (ex);
			} finally {
				// unless it is closed by session/call manager, move it back to the loop to receive the next message.
				if (loop && input.State != CommunicationState.Closed)
					ProcessRequestOrInput (input);
			}
		}