Пример #1
0
 void OnServiceHostUnknownMessageReceived(string id, UnknownMessageReceivedEventArgs e)
 {
     var writer = new StringWriter();
     var dict = XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter.Create(writer));
     e.Message.WriteMessage(dict);
     _logger.Warn(string.Concat("[", id, "] ", "UNKNOWN MESSAGE RECEIVED: {0}"), writer.ToString());
 }
Пример #2
0
		void host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
		{
			Output("Unknown message received: {0}", e.Message.ToString());
		}
Пример #3
0
 static void svcHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     _log.ErrorFormat("Communication error in WCF service: Unknown Message Recv. State: {0}, Message: {1}", _svcHost.State, e.Message);
 }
Пример #4
0
 private void WorkflowServiceHostOnUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs unknownMessageReceivedEventArgs)
 {
     OutputWriter.WriteLine("Unknown workflow service message received: {0}", unknownMessageReceivedEventArgs.Message);
 }
Пример #5
0
 private void host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log.WarnFormat("UnknownMessageReceived: {0}", e.Message);
 }
Пример #6
0
 void _host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log(string.Format("Unknown message received: {0}",e.Message));
 }
Пример #7
0
 void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("MyService is received unknown message.");
 }
Пример #8
0
 private void wcfUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     FileLog.PrintF(e.Message.ToString());
 }
Пример #9
0
 static void UnknownMessageReceive(object sender, System.ServiceModel.UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("Unknown message - " + e.ToString());
 }
Пример #10
0
 void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Logger.Message("MyService is received unknown message.");
 }
Пример #11
0
 void OnServiceHostUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     var writer = new StringWriter();
     var dict = XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter.Create(writer));
     e.Message.WriteMessage(dict);
     _logger.Warn("UNKNOWN MESSAGE RECEIVED: {0}", writer);
 }
Пример #12
0
 static void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("Unknown message received: " + e.Message);
 }
Пример #13
0
 static void HostUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log.ErrorFormat("Host has received unknown exception: {0}", e.Message);
 }
Пример #14
0
 static void host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Debug.WriteLine("Oops, I received a message that didn't correlate!");
     Debug.WriteLine(e.Message.ToString());
 }