Message headers are now serialized and deserialized for MessageHeaderDescription.
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / SoapException.cs
index 7624421c9ae64584fe14d28acbfd8d07ad3e4972..b81332a4800e3f0df15b0b5150e5f187524efd17 100644 (file)
@@ -129,17 +129,14 @@ namespace System.Web.Services.Protocols
                }
                
                public SoapException (string message, XmlQualifiedName code, string actor, string role, string lang, XmlNode detail, SoapFaultSubCode subcode, Exception innerException)
+                       : this (message, code, actor, role, detail, subcode, innerException)
                {
-                       this.code = code;
-                       this.subcode = subcode;
-                       this.detail = detail;
-                       this.actor = actor;
-                       this.role = role;
                        this.lang = lang;
                }
 
 #if NET_2_0
                protected SoapException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
                {
                        actor = info.GetString ("actor");
                        code = (XmlQualifiedName) info.GetValue ("code", typeof (XmlQualifiedName));