File: WebException.xml

package info (click to toggle)
mono 2.6.7-5.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 327,344 kB
  • ctags: 413,649
  • sloc: cs: 2,471,883; xml: 1,768,594; ansic: 350,665; sh: 13,644; makefile: 8,640; perl: 1,784; asm: 717; cpp: 209; python: 146; sql: 81; sed: 16
file content (318 lines) | stat: -rwxr-xr-x 18,673 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<Type Name="WebException" FullName="System.Net.WebException" FullNameSP="System_Net_WebException" Maintainer="ecma">
  <TypeSignature Language="ILASM" Value=".class public serializable WebException extends System.InvalidOperationException" />
  <TypeSignature Language="C#" Value="public class WebException : InvalidOperationException" />
  <MemberOfLibrary>Networking</MemberOfLibrary>
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
    <AssemblyVersion>1.0.x.x</AssemblyVersion>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
  <Base>
    <BaseTypeName>System.InvalidOperationException</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>
      <para> Represents an error that occurs
 while accessing the Internet through a pluggable protocol.</para>
    </summary>
    <remarks>
      <block subset="none" type="note">
        <para>
          <see cref="T:System.Net.WebException" /> is thrown by classes
 derived from <see cref="T:System.Net.WebRequest" /> and <see cref="T:System.Net.WebResponse" /> that implement pluggable
 protocols when an error occurs in
 while accessing the Internet.</para>
        <para>When <see cref="T:System.Net.WebException" /> is thrown by a method in a class derived from <see cref="T:System.Net.WebRequest" /> ,
 the <see cref="P:System.Net.WebException.Response" /> property provides the Internet response to the
 application.</para>
      </block>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
      <MemberSignature Language="C#" Value="public WebException ();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" /> class.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new
   instance to a system-supplied message that describes the error. This message takes
   into account the current system culture. The <see cref="!:System.Net.WebException.InnerException" /> and <see cref="P:System.Net.WebException.Response" /> properties of the new instance are initialized  to <see langword="null" />. The <see cref="P:System.Net.WebException.Status" /> property is initialized to <see cref="P:System.Net.WebException.Status.UnknownError" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message)" />
      <MemberSignature Language="C#" Value="public WebException (string message);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="message" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <remarks>
          <para> This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using <paramref name="message" />. If <paramref name="message" /> is 
<see langword="null" />, the <see cref="!:System.Net.WebException.Message" /> property is initialized to the 
   system-supplied message provided by the constructor that takes no arguments.</para>
          <para> The <see cref="!:System.Net.WebException.InnerException" /> and <see cref="P:System.Net.WebException.Response" /> properties of the new instance are
initialized to <see langword="null" />. The <see cref="P:System.Net.WebException.Status" /> property is initialized to <see cref="P:System.Net.WebException.Status.UnknownError" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected WebException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
        <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
      </Parameters>
      <Docs>
        <param name="info">To be added.</param>
        <param name="context">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, class System.Exception innerException)" />
      <MemberSignature Language="C#" Value="public WebException (string message, Exception innerException);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="message" Type="System.String" />
        <Parameter Name="innerException" Type="System.Exception" />
      </Parameters>
      <Docs>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="innerException">An instance of <see cref="T:System.Exception" /> that is the cause of the current exception. If <paramref name="innerException" /> is non-null, then the current Exception was raised in a catch block handling <paramref name="innerException" /> .</param>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" />
property of the new instance using <paramref name="message" /> and the <see cref="!:System.Net.WebException.InnerException" /> property using <paramref name="innerException" />. If <paramref name="message" /> is
<see langword="null" />, the <see cref="!:System.Net.WebException.Message" /> property is initialized to the 
system-supplied message provided by the constructor that takes no arguments.</para>
          <para> The
<see cref="P:System.Net.WebException.Response" /> property of the new instance are initialized to <see langword="null" />. The <see cref="P:System.Net.WebException.Status" /> property is initialized to <see cref="P:System.Net.WebException.Status.UnknownError" />.</para>
          <para>
            <block subset="none" type="note">For more information on inner
   exceptions, see <see cref="P:System.Exception.InnerException" />.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, valuetype System.Net.WebExceptionStatus status)" />
      <MemberSignature Language="C#" Value="public WebException (string message, System.Net.WebExceptionStatus status);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="message" Type="System.String" />
        <Parameter Name="status" Type="System.Net.WebExceptionStatus" />
      </Parameters>
      <Docs>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="status">A <see cref="T:System.Net.WebExceptionStatus" /> value that describes the status of the network connection after the exception is thrown.</param>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" />
class.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using <paramref name="message" /> and <see cref="P:System.Net.WebException.Status" /> using <paramref name="status" />. If <paramref name="message" /> is <see langword="null" />, 
   the <see cref="!:System.Net.WebException.Message" /> property is initialized to the system-supplied
   message provided by the constructor that takes no arguments.</para>
          <para> The <see cref="!:System.Net.WebException.InnerException" /> and <see cref="P:System.Net.WebException.Response" /> properties of the new
instance are initialized to <see langword="null" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, class System.Exception innerException, valuetype System.Net.WebExceptionStatus status, class System.Net.WebResponse response)" />
      <MemberSignature Language="C#" Value="public WebException (string message, Exception innerException, System.Net.WebExceptionStatus status, System.Net.WebResponse response);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="message" Type="System.String" />
        <Parameter Name="innerException" Type="System.Exception" />
        <Parameter Name="status" Type="System.Net.WebExceptionStatus" />
        <Parameter Name="response" Type="System.Net.WebResponse" />
      </Parameters>
      <Docs>
        <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
        <param name="innerException">An instance of <see cref="T:System.Exception" /> that is the cause of the current exception. If <paramref name="innerException" /> is non-null, then the current Exception was raised in a catch block handling <paramref name="innerException" /> .</param>
        <param name="status">A <see cref="T:System.Net.WebExceptionStatus" /> value that describes the status of the network connection after the exception is thrown.</param>
        <param name="response">A <see cref="T:System.Net.WebResponse" /> instance containing the response from the host.</param>
        <summary>
          <para>Constructs and initializes a new instance of the <see cref="T:System.Net.WebException" /> class with the specified error
   message, nested exception, status, and response.</para>
        </summary>
        <remarks>
          <para>This constructor initializes the <see cref="!:System.Net.WebException.Message" /> property of the new instance using
<paramref name="message, " />the <see cref="P:System.Net.WebException.Status" /> 
property using <paramref name="status" />, the <see cref="!:System.Net.WebException.InnerException" /> property using <paramref name="innerException" />,
and the <see cref="P:System.Net.WebException.Response" /> property
using <paramref name="response" />. If <paramref name="message" /> is <see langword="null" />,
the <see cref="!:System.Net.WebException.Message" /> property is initialized to the system-supplied
message provided by the constructor that takes no arguments.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetObjectData">
      <MemberSignature Language="C#" Value="public override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
        <Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
      </Parameters>
      <Docs>
        <param name="serializationInfo">To be added.</param>
        <param name="streamingContext">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Response">
      <MemberSignature Language="ILASM" Value=".property class System.Net.WebResponse Response { public hidebysig specialname instance class System.Net.WebResponse get_Response() }" />
      <MemberSignature Language="C#" Value="public System.Net.WebResponse Response { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.WebResponse</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets the <see cref="T:System.Net.WebResponse" /> that the host returned.</para>
        </summary>
        <value>
          <para> A <see cref="T:System.Net.WebResponse" /> instance containing the
   error response if one is available; otherwise, <see langword="null" />
   .</para>
        </value>
        <remarks>
          <para>This property is read-only.</para>
          <para>
            <block subset="none" type="note">Some Internet protocols, such as HTTP, return otherwise
      valid responses indicating that an error has occurred at the protocol level.
      When the response to an Internet request indicates an error, <see cref="M:System.Net.WebRequest.GetResponse" qualify="true" />
      sets the <see cref="P:System.Net.WebException.Status" />
      property to <see cref="F:System.Net.WebExceptionStatus.ProtocolError" qualify="true" /> and
      provides
      the <see cref="T:System.Net.WebResponse" /> containing the error message in the
   <see cref="P:System.Net.WebException.Response" /> property of the <see cref="T:System.Net.WebException" />
   that was
   thrown. The <see cref="T:System.Net.WebResponse" /> can be examined to
   determine the actual error.</block>
          </para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Status">
      <MemberSignature Language="ILASM" Value=".property valuetype System.Net.WebExceptionStatus Status { public hidebysig specialname instance valuetype System.Net.WebExceptionStatus get_Status() }" />
      <MemberSignature Language="C#" Value="public System.Net.WebExceptionStatus Status { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.WebExceptionStatus</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>
          <para> Gets a value that indicates the status of the response.
      </para>
        </summary>
        <value>
          <para> A <see cref="T:System.Net.WebExceptionStatus" /> value that indicates the status of the
   response.</para>
        </value>
        <remarks>
          <para>This property is read-only.</para>
          <para>The <see cref="P:System.Net.WebException.Status" /> property indicates the reason for the current 
   exception.</para>
          <para>The default value for this property is <see cref="F:System.Net.WebExceptionStatus.UnknownError" />.</para>
        </remarks>
      </Docs>
      <Excluded>0</Excluded>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
      <MemberSignature Language="C#" Value="void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
        <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
      </Parameters>
      <Docs>
        <param name="info">To be added.</param>
        <param name="context">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
  <TypeExcluded>0</TypeExcluded>
</Type>