8 [global::__DynamicallyInvokable]
16 private WebExceptionInternalStatus m_InternalStatus;
20 [global::__DynamicallyInvokable]
23 [global::__DynamicallyInvokable]
32 [global::__DynamicallyInvokable]
35 [global::__DynamicallyInvokable]
42 internal WebExceptionInternalStatus InternalStatus => m_InternalStatus;
45 [global::__DynamicallyInvokable]
52 [global::__DynamicallyInvokable]
61 [global::__DynamicallyInvokable]
63 : base(message, innerException)
70 [global::__DynamicallyInvokable]
72 : this(message, null, status, null)
77 : this(message, innerException, status, null, internalStatus)
86 [global::__DynamicallyInvokable]
88 : this(message, null, innerException, status, response)
93 : base(message + ((data != null) ? (
": '" + data +
"'") :
""), innerException)
96 m_Response = response;
100 : this(message, null, innerException, status, response, internalStatus)
105 : base(message + ((data != null) ? (
": '" + data +
"'") :
""), innerException)
108 m_Response = response;
109 m_InternalStatus = internalStatus;
116 : base(serializationInfo, streamingContext)
126 GetObjectData(serializationInfo, streamingContext);
135 base.GetObjectData(serializationInfo, streamingContext);
The exception that is thrown when an error occurs while accessing the network through a pluggable pro...
Describes a set of security permissions applied to code. This class cannot be inherited.
WebException()
Initializes a new instance of the T:System.Net.WebException class.
WebExceptionStatus Status
Gets the status of the response.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
Populates a T:System.Runtime.Serialization.SerializationInfo instance with the data needed to seriali...
WebResponse Response
Gets the response that the remote host returned.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides a response from a Uniform Resource Identifier (URI). This is an abstract class.
WebException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Initializes a new instance of the T:System.Net.WebException class from the specified T:System....
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
WebException(string message, Exception innerException, WebExceptionStatus status, WebResponse response)
Initializes a new instance of the T:System.Net.WebException class with the specified error message,...
Exception()
Initializes a new instance of the T:System.Exception class.
WebExceptionStatus
Defines status codes for the T:System.Net.WebException class.
WebException(string message, Exception innerException)
Initializes a new instance of the T:System.Net.WebException class with the specified error message an...
Allows an object to control its own serialization and deserialization.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
WebException(string message, WebExceptionStatus status)
Initializes a new instance of the T:System.Net.WebException class with the specified error message an...
Specifies that the class can be serialized.
The exception that is thrown when a method call is invalid for the object's current state.
WebException(string message)
Initializes a new instance of the T:System.Net.WebException class with the specified error message.
SecurityPermissionFlag
Specifies access flags for the security permission object.
void GetObjectData(SerializationInfo info, StreamingContext context)
Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the ta...