Merge pull request #4540 from kumpera/android-changes-part1
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel / ReliableSession.cs
index 5a5a3509e68fc8da5d2ba671c858658bfa4a41a8..243ae798b2af1114b52cdb1a850623119378097e 100644 (file)
@@ -1,4 +1,4 @@
-//
+//
 // ReliableSession.cs
 //
 // Author:
@@ -39,12 +39,12 @@ namespace System.ServiceModel
                {
                }
 
-               public ReliableSession (ReliableSessionBindingElement binding)
+               public ReliableSession (ReliableSessionBindingElement reliableSessionBindingElement)
                {
-                       if (binding == null)
-                               throw new ArgumentNullException ("binding");
-                       InactivityTimeout = binding.InactivityTimeout;
-                       Ordered = binding.Ordered;
+                       if (reliableSessionBindingElement == null)
+                               throw new ArgumentNullException ("reliableSessionBindingElement");
+                       InactivityTimeout = reliableSessionBindingElement.InactivityTimeout;
+                       Ordered = reliableSessionBindingElement.Ordered;
                }
 
                public TimeSpan InactivityTimeout { get; set; }