Esempio n. 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());
 }
Esempio n. 2
0
		void host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
		{
			Output("Unknown message received: {0}", e.Message.ToString());
		}
Esempio n. 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);
 }
 private void WorkflowServiceHostOnUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs unknownMessageReceivedEventArgs)
 {
     OutputWriter.WriteLine("Unknown workflow service message received: {0}", unknownMessageReceivedEventArgs.Message);
 }
Esempio n. 5
0
 private void host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log.WarnFormat("UnknownMessageReceived: {0}", e.Message);
 }
Esempio n. 6
0
 void _host_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log(string.Format("Unknown message received: {0}",e.Message));
 }
Esempio n. 7
0
 void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("MyService is received unknown message.");
 }
Esempio n. 8
0
 private void wcfUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     FileLog.PrintF(e.Message.ToString());
 }
Esempio n. 9
0
 static void UnknownMessageReceive(object sender, System.ServiceModel.UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("Unknown message - " + e.ToString());
 }
Esempio n. 10
0
 void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Logger.Message("MyService is received unknown message.");
 }
Esempio n. 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);
 }
Esempio n. 12
0
 static void serviceHost_UnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Console.WriteLine("Unknown message received: " + e.Message);
 }
Esempio n. 13
0
 static void HostUnknownMessageReceived(object sender, UnknownMessageReceivedEventArgs e)
 {
     Log.ErrorFormat("Host has received unknown exception: {0}", e.Message);
 }
Esempio n. 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());
 }