O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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
}

Hierarchy

System.ObjectSystem.ValueTypeSystem.Enum(System.IComparable, System.IFormattable, System.IConvertible)WebExceptionStatus

Returned By

WebException.Status

Passed To

WebException.WebException()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required