瀏覽代碼

2009-08-04 Atsushi Enomoto <[email protected]>

	* ReplyHandler.cs : there is better way to check IsOneWay.


svn path=/trunk/mcs/; revision=139322
Atsushi Eno 16 年之前
父節點
當前提交
3d637ff7a1

+ 4 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ChangeLog

@@ -1,3 +1,7 @@
+2009-08-04  Atsushi Enomoto  <[email protected]>
+
+	* ReplyHandler.cs : there is better way to check IsOneWay.
+
 2009-08-04  Atsushi Enomoto  <[email protected]>
 
 	* OperationInvokerHandler.cs : One way operation has no reply.

+ 1 - 1
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ReplyHandler.cs

@@ -18,7 +18,7 @@ namespace System.ServiceModel.Dispatcher
 		protected override bool ProcessRequest (MessageProcessingContext mrc)
 		{
 			// if IsOneWay then no need to handle reply
-			if (mrc.ReplyMessage == null)
+			if (mrc.Operation.IsOneWay)
 				return false;
 
 			if (duplex != null)