Browse Source

2003-11-12 Andreas Nahr <[email protected]>

	* WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
	* SecurityProtocolType.cs: Added and implemented

svn path=/trunk/mcs/; revision=19909
Andreas N 22 years ago
parent
commit
73fadc8a9d

+ 5 - 0
mcs/class/System/System.Net/ChangeLog

@@ -1,3 +1,8 @@
+2003-11-12  Andreas Nahr <[email protected]>
+
+	* WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
+	* SecurityProtocolType.cs: Added and implemented
+
 2003-11-12  Gonzalo Paniagua Javier <[email protected]>
 
 	* HttpWebRequest.cs: fixed redirects when they target another host.

+ 20 - 0
mcs/class/System/System.Net/SecurityProtocolType.cs

@@ -0,0 +1,20 @@
+//
+// System.Net.SecurityProtocolType.cs
+//
+// Author:
+//   Andreas Nahr ([email protected])
+//
+
+#if NET_1_1
+
+namespace System.Net 
+{
+	[Flags]
+	public enum SecurityProtocolType
+	{
+		Ssl3 = 48,
+		Tls = 192
+	}
+}
+
+#endif

+ 15 - 64
mcs/class/System/System.Net/WebExceptionStatus.cs

@@ -1,85 +1,36 @@
-// WebExceptionStatus.cs
+// System.Net.WebExceptionStatus.cs
 //
-// This code was automatically generated from
-// ECMA CLI XML Library Specification.
-// Generator: libgen.xsl [1.0; (C) Sergey Chaban ([email protected])]
-// Created: Wed, 5 Sep 2001 06:33:08 UTC
-// Source file: AllTypes.xml
-// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
+// Author:
+//   Andreas Nahr ([email protected])
+//   originally autogenerated by Sergey Chaban ([email protected])
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 
-
-namespace System.Net {
-
-
-	/// <summary>
-	/// </summary>
-	public enum WebExceptionStatus {
-
-		/// <summary>
-		/// </summary>
+namespace System.Net 
+{
+	public enum WebExceptionStatus 
+	{
 		Success = 0,
-
-		/// <summary>
-		/// </summary>
 		NameResolutionFailure = 1,
-
-		/// <summary>
-		/// </summary>
 		ConnectFailure = 2,
-
-		/// <summary>
-		/// </summary>
 		ReceiveFailure = 3,
-
-		/// <summary>
-		/// </summary>
 		SendFailure = 4,
-
-		/// <summary>
-		/// </summary>
 		PipelineFailure = 5,
-
-		/// <summary>
-		/// </summary>
 		RequestCanceled = 6,
-
-		/// <summary>
-		/// </summary>
 		ProtocolError = 7,
-
-		/// <summary>
-		/// </summary>
 		ConnectionClosed = 8,
-
-		/// <summary>
-		/// </summary>
 		TrustFailure = 9,
-
-		/// <summary>
-		/// </summary>
 		SecureChannelFailure = 10,
-
-		/// <summary>
-		/// </summary>
 		ServerProtocolViolation = 11,
-
-		/// <summary>
-		/// </summary>
 		KeepAliveFailure = 12,
-
-		/// <summary>
-		/// </summary>
 		Pending = 13,
-
-		/// <summary>
-		/// </summary>
 		Timeout = 14,
-
-		/// <summary>
-		/// </summary>
 		ProxyNameResolutionFailure = 15,
-	} // WebExceptionStatus
 
-} // System.Net
+#if NET_1_1
+		UnknownError = 16,
+		MessageLengthLimitExceeded = 17,
+#endif
+
+	}
+}