-// \r
-// System.Web.Services.Description.SoapFaultBinding.cs\r
-//\r
-// Author:\r
-// Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+//
+// System.Web.Services.Description.SoapFaultBinding.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
+//
//
// Permission is hereby granted, free of charge, to any person obtaining
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-\r
-using System.ComponentModel;\r
-using System.Web.Services.Configuration;\r
-using System.Xml.Serialization;\r
-\r
-namespace System.Web.Services.Description {\r
- [XmlFormatExtension ("fault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (FaultBinding))]\r
- public class SoapFaultBinding : ServiceDescriptionFormatExtension {\r
-\r
- #region Fields\r
-\r
- string encoding;\r
- string ns;\r
- SoapBindingUse use;\r
-\r
- #endregion // Fields\r
-\r
- #region Constructors\r
- \r
- public SoapFaultBinding ()\r
- {\r
- encoding = String.Empty;\r
- ns = String.Empty;\r
- use = SoapBindingUse.Default;\r
- }\r
- \r
- #endregion // Constructors\r
-\r
- #region Properties\r
-\r
- [XmlAttribute ("encodingStyle")]\r
- public string Encoding {\r
- get { return encoding; }\r
- set { encoding = value; }\r
- }\r
- \r
- [XmlAttribute ("namespace")] \r
- public string Namespace {\r
- get { return ns; }\r
- set { ns = value; }\r
- }\r
-\r
- [DefaultValue (SoapBindingUse.Default)]\r
- [XmlAttribute ("use")]\r
- public SoapBindingUse Use {\r
- get { return use; }\r
- set { use = value; }\r
- }\r
-\r
- #endregion // Properties\r
- }\r
-}\r
+
+using System.ComponentModel;
+using System.Web.Services.Configuration;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Description {
+ [XmlFormatExtension ("fault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (FaultBinding))]
+ public class SoapFaultBinding : ServiceDescriptionFormatExtension {
+
+ #region Fields
+
+ string encoding;
+ string ns;
+ SoapBindingUse use;
+ string name;
+
+ #endregion // Fields
+
+ #region Constructors
+
+ public SoapFaultBinding ()
+ {
+ encoding = String.Empty;
+ ns = String.Empty;
+ use = SoapBindingUse.Default;
+ }
+
+ #endregion // Constructors
+
+ #region Properties
+
+ [DefaultValue ("")]
+ [XmlAttribute ("encodingStyle")]
+ public string Encoding {
+ get { return encoding; }
+ set { encoding = value; }
+ }
+
+ [XmlAttribute ("namespace")]
+ public string Namespace {
+ get { return ns; }
+ set { ns = value; }
+ }
+
+ [DefaultValue (SoapBindingUse.Default)]
+ [XmlAttribute ("use")]
+ public SoapBindingUse Use {
+ get { return use; }
+ set { use = value; }
+ }
+
+ [XmlAttribute ("name")]
+ public string Name {
+ get { return name; }
+ set { name = value; }
+ }
+ #endregion // Properties
+ }
+}