Name
WebExceptionStatus
Synopsis
This enumeration defines constants for the status
codes used in
WebException.Status
.
public enum WebExceptionStatus { Success = 0, NameResolutionFailure = 1, ConnectFailure = 2, ReceiveFailure = 3, SendFailure = 4, PipelineFailure = 5, RequestCanceled = 6, ProtocolError = 7, ConnectionClosed = 8, TrustFailure = 9, SecureChannelFailure = 10, ServerProtocolViolation = 11, KeepAliveFailure = 12, Pending = 13, Timeout = 14, ProxyNameResolutionFailure = 15, UnknownError = 16, MessageLengthLimitExceeded = 17 }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable
,
System.IFormattable
, System.IConvertible)
→
WebExceptionStatus
Returned By
WebException.Status
Passed To
WebException.WebException( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.