Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2006-11-22 05:09:45 +0300
committerAtsushi Eno <atsushieno@gmail.com>2006-11-22 05:09:45 +0300
commit16ab5ebfe13667ee7138cb2b64ac451889ada065 (patch)
tree9ae541b9acc2a15368d35c6ce1c7db7df2f951e1 /mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs
parent8e5a32897d07d8f24d762023408925d377cb1e19 (diff)
2006-11-21 Atsushi Enomoto <atsushi@ximian.com>
* WebClientProtocol.cs HttpWebClientProtocol.cs SoapException.cs SoapHeaderException.cs HttpSimpleClientProtocol.cs SoapHttpClientProtocol.cs SoapMessage.cs: assorted cosmetic API fixes. svn path=/trunk/mcs/; revision=68318
Diffstat (limited to 'mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs')
-rw-r--r--mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs b/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs
index 99157016c2a..829e48a82c7 100644
--- a/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs
+++ b/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapHeaderException.cs
@@ -28,6 +28,7 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.Serialization;
using System.Xml;
namespace System.Web.Services.Protocols
@@ -39,6 +40,13 @@ namespace System.Web.Services.Protocols
#region Constructors
+#if NET_2_0
+ public SoapHeaderException ()
+ : this ("SOAP header error", XmlQualifiedName.Empty)
+ {
+ }
+#endif
+
public SoapHeaderException (string message, XmlQualifiedName code)
: base (message, code)
{
@@ -88,6 +96,10 @@ namespace System.Web.Services.Protocols
}
+ protected SoapHeaderException (SerializationInfo info, StreamingContext context)
+ : base (info, context)
+ {
+ }
#endif
#endregion // Constructors