/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/ |
H A D | HttpListenerException.cs | 15 public class HttpListenerException : Win32Exception class 17 public HttpListenerException() : base(Marshal.GetLastWin32Error()) in HttpListenerException() method in System.Net.HttpListenerException 22 public HttpListenerException(int errorCode) : base(errorCode) in HttpListenerException() method in System.Net.HttpListenerException 27 public HttpListenerException(int errorCode, string message) : base(errorCode, message) in HttpListenerException() method in System.Net.HttpListenerException 32 …protected HttpListenerException(SerializationInfo serializationInfo, StreamingContext streamingCon… in HttpListenerException() method in System.Net.HttpListenerException
|
H A D | _ListenerAsyncResult.cs | 43 result = new HttpListenerException((int)errorCode); in IOCompleted() 87 result = new HttpListenerException((int)statusCode); in IOCompleted()
|
H A D | HttpListener.cs | 514 HttpListenerException exception = new HttpListenerException((int)statusCode); in SetUrlGroupProperty() 681 throw new HttpListenerException((int)statusCode); in AddPrefix() 801 throw new HttpListenerException((int)statusCode); in SetupV2Config() 813 throw new HttpListenerException((int)statusCode); in SetupV2Config() 864 catch (HttpListenerException) { in Start() 996 throw new HttpListenerException((int)statusCode); in CreateRequestQueueHandle() 1006 throw new HttpListenerException(Marshal.GetLastWin32Error()); in CreateRequestQueueHandle() 1133 throw new HttpListenerException((int)statusCode); in AddAllPrefixes() 1195 throw new HttpListenerException((int)statusCode); in GetContext() 1267 throw new HttpListenerException((int)statusCode); in BeginGetContext() [all …]
|
H A D | _ListenerRequestStream.cs | 166 Exception exception = new HttpListenerException((int)statusCode); in Read() 271 Exception exception = new HttpListenerException((int)statusCode); in BeginRead() 401 result = new HttpListenerException((int)errorCode); in IOCompleted()
|
H A D | _ListenerResponseStream.cs | 221 Exception exception = new HttpListenerException((int)statusCode); in Write() 303 Exception exception = new HttpListenerException((int)statusCode); in BeginWrite() 444 Exception exception = new HttpListenerException((int)statusCode); in Dispose() 591 result = new HttpListenerException((int)errorCode); in IOCompleted()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/ |
H A D | HttpListenerException.cs | 15 public class HttpListenerException : Win32Exception class 17 public HttpListenerException() : base(Marshal.GetLastWin32Error()) in HttpListenerException() method in System.Net.HttpListenerException 22 public HttpListenerException(int errorCode) : base(errorCode) in HttpListenerException() method in System.Net.HttpListenerException 27 public HttpListenerException(int errorCode, string message) : base(errorCode, message) in HttpListenerException() method in System.Net.HttpListenerException 32 …protected HttpListenerException(SerializationInfo serializationInfo, StreamingContext streamingCon… in HttpListenerException() method in System.Net.HttpListenerException
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/Managed/ |
H A D | HttpEndPointManager.cs | 90 … throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_port); in AddPrefixInternal() 96 … throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_listener_host); in AddPrefixInternal() 99 … throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_path); in AddPrefixInternal() 102 … throw new HttpListenerException((int)HttpStatusCode.BadRequest, SR.net_invalid_path); in AddPrefixInternal() 126 … throw new HttpListenerException(NotSupportedErrorCode, SR.net_listener_not_supported); in GetEPListener() 132 … throw new HttpListenerException(NotSupportedErrorCode, SR.net_listener_not_supported); in GetEPListener() 160 throw new HttpListenerException(ex.ErrorCode, ex.Message); in GetEPListener()
|
H A D | HttpResponseStream.Managed.cs | 83 catch (HttpListenerException) in DisposeCore() 155 throw new HttpListenerException(ex.HResult, ex.Message); in InternalWrite() 257 throw new HttpListenerException(ex.HResult, ex.Message); in BeginWriteCore() 295 throw new HttpListenerException(ex.HResult, ex.Message); in EndWriteCore()
|
H A D | ListenerAsyncResult.Managed.cs | 69 …_exception = new HttpListenerException((int)HttpStatusCode.InternalServerError, SR.net_listener_cl… in Complete() 170 …Complete(new HttpListenerException((int)HttpStatusCode.Unauthorized, SR.net_listener_auth_errors)); in Complete()
|
H A D | HttpRequestStream.Managed.cs | 118 throw new HttpListenerException((int)HttpStatusCode.BadRequest); in ReadCore() 205 throw new HttpListenerException((int)HttpStatusCode.BadRequest); in EndRead()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/tests/ |
H A D | HttpListenerPrefixCollectionTests.cs | 212 catch (HttpListenerException) in Add_AlreadyStarted_ReturnsExpected() 231 Assert.Throws<HttpListenerException>(() => listener.Start()); in Add_PrefixAlreadyRegisteredAndNotStarted_ThrowsHttpListenerException() 261 Assert.Throws<HttpListenerException>(() => listener.Prefixes.Add(uriPrefix)); in Add_PrefixAlreadyRegisteredAndStarted_ThrowsHttpListenerException() 316 Assert.Throws<HttpListenerException>(() => listener1.Prefixes.Add(prefix1)); in Add_SamePortDifferentPathDifferentListenerStarted_Works() 317 … Assert.Throws<HttpListenerException>(() => listener1.Prefixes.Add($"{prefix1}hola/")); in Add_SamePortDifferentPathDifferentListenerStarted_Works() 320 Assert.Throws<HttpListenerException>(() => listener2.Prefixes.Add(prefix2)); in Add_SamePortDifferentPathDifferentListenerStarted_Works() 321 … Assert.Throws<HttpListenerException>(() => listener2.Prefixes.Add($"{prefix2}hola/")); in Add_SamePortDifferentPathDifferentListenerStarted_Works() 344 … Assert.Throws<HttpListenerException>(() => listener1.Prefixes.Add($"{prefix1}hola/")); in Add_SamePortDifferentPathMultipleStarted_Success() 380 Assert.Throws<HttpListenerException>(() => listener.Start()); in Add_InvalidPrefixNotStarted_ThrowsHttpListenerExceptionOnStart() 393 Assert.Throws<HttpListenerException>(() => listener.Prefixes.Add(uriPrefix)); in Add_InvalidPrefixAlreadyStarted_ThrowsHttpListenerExceptionOnAdd() [all …]
|
H A D | HttpResponseStreamTests.cs | 411 …await Assert.ThrowsAsync<HttpListenerException>(() => context.Response.OutputStream.WriteAsync(buf… in Write_HeadersToClosedConnectionAsynchronously_ThrowsHttpListenerException() 450 …Assert.Throws<HttpListenerException>(() => context.Response.OutputStream.Write(buffer, 0, buffer.L… in Write_HeadersToClosedConnectionSynchronously_ThrowsHttpListenerException() 490 …await Assert.ThrowsAsync<HttpListenerException>(() => context.Response.OutputStream.WriteAsync(buf… in Write_ContentToClosedConnectionAsynchronously_ThrowsHttpListenerException() 530 …Assert.Throws<HttpListenerException>(() => context.Response.OutputStream.Write(buffer, 0, buffer.L… in Write_ContentToClosedConnectionSynchronously_ThrowsHttpListenerException()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/ref/ |
H A D | System.Net.HttpListener.cs | 56 public partial class HttpListenerException : System.ComponentModel.Win32Exception class 58 public HttpListenerException() { } in HttpListenerException() method in System.Net.HttpListenerException 59 public HttpListenerException(int errorCode) { } in HttpListenerException() method in System.Net.HttpListenerException 60 public HttpListenerException(int errorCode, string message) { } in HttpListenerException() method in System.Net.HttpListenerException 61 …protected HttpListenerException(SerializationInfo serializationInfo, StreamingContext streamingCon… in HttpListenerException() method in System.Net.HttpListenerException
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/ |
H A D | SharedHttpTransportManager.cs | 148 catch (HttpListenerException e) in BeginGetContext() 220 catch (HttpListenerException e) in OnGetContextCore() 360 catch (HttpListenerException e) in HandleHttpContextReceived() 410 bool HandleHttpException(HttpListenerException e) in HandleHttpException() 603 catch (HttpListenerException listenerException) in OnOpen()
|
H A D | HttpRequestContext.cs | 877 catch (HttpListenerException listenerException) in OnClose() 1017 catch (HttpListenerException listenerException) in BeginRead() 1030 catch (HttpListenerException listenerException) in EndRead() 1043 catch (HttpListenerException listenerException) in Read() 1056 catch (HttpListenerException listenerException) in ReadByte()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net/ |
H A D | ListenerAsyncResult.cs | 60 exception = new HttpListenerException (500, "Listener closed"); in Complete() 113 Complete (new HttpListenerException (400, "Too many authentication errors")); in Complete()
|
H A D | EndPointManager.cs | 70 throw new HttpListenerException (400, "Invalid path."); in AddPrefixInternal() 73 throw new HttpListenerException (400, "Invalid path."); in AddPrefixInternal()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/Windows/ |
H A D | ListenerAsyncResult.Windows.cs | 33 result = new HttpListenerException((int)errorCode); in IOCompleted() 77 result = new HttpListenerException((int)statusCode); in IOCompleted()
|
H A D | HttpListener.Windows.cs | 121 HttpListenerException exception = new HttpListenerException((int)statusCode); in SetUrlGroupProperty() 218 throw new HttpListenerException((int)statusCode); in SetupV2Config() 231 throw new HttpListenerException((int)statusCode); in SetupV2Config() 287 catch (HttpListenerException) in Start() 436 throw new HttpListenerException((int)statusCode); in CreateRequestQueueHandle() 446 throw new HttpListenerException(Marshal.GetLastWin32Error()); in CreateRequestQueueHandle() 555 …throw new HttpListenerException((int)statusCode, SR.Format(SR.net_listener_already, registeredPref… in AddPrefixCore() 557 throw new HttpListenerException((int)statusCode); in AddPrefixCore() 624 throw new HttpListenerException((int)statusCode); in GetContext() 703 throw new HttpListenerException((int)statusCode); in BeginGetContext() [all …]
|
H A D | HttpRequestStream.Windows.cs | 97 Exception exception = new HttpListenerException((int)statusCode); in ReadCore() 205 Exception exception = new HttpListenerException((int)statusCode); in BeginReadCore() 327 result = new HttpListenerException((int)errorCode); in IOCompleted()
|
H A D | HttpResponseStream.Windows.cs | 141 Exception exception = new HttpListenerException((int)statusCode); in WriteCore() 220 Exception exception = new HttpListenerException((int)statusCode); in BeginWriteCore() 367 Exception exception = new HttpListenerException((int)statusCode); in DisposeCore()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/ |
H A D | HttpListenerTest.cs | 216 [ExpectedException (typeof (HttpListenerException))] 234 [ExpectedException (typeof (HttpListenerException))] 250 [ExpectedException (typeof (HttpListenerException))] 490 [ExpectedException (typeof (HttpListenerException))] 511 [ExpectedException (typeof (HttpListenerException))]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.Net.HttpListener/ |
H A D | TypeForwarders.cs | 27 …System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpListenerException))]
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/Facades/ |
H A D | System.Net.HttpListener.cs | 21 …System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpListenerException))]
|
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/Facades/ |
H A D | System.Net.HttpListener.cs | 21 …System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpListenerException))]
|