Merge pull request #778 from cmorris98/master
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel / OptionalReliableSession.cs
index 1f5b9659c56c28e413b1451036d4e544a3df5965..3d8ebe30b81b0f66ef5deaeea4a7bf83bd95ea8d 100644 (file)
@@ -38,8 +38,15 @@ namespace System.ServiceModel
                bool enabled;
                ReliableSessionBindingElement binding;
 
+               public OptionalReliableSession ()
+               {
+               }
+
                public OptionalReliableSession (ReliableSessionBindingElement binding)
+                       : base (binding)
                {
+                       if (binding == null)
+                               throw new ArgumentNullException ("binding");
                }
 
                public bool Enabled {