Example #1
0
 /// <summary>When overridden in a descendant class, returns a response to an Internet request.</summary>
 /// <returns>A <see cref="T:System.Net.WebResponse" /> containing the response to the Internet request.</returns>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 /// <PermissionSet>
 ///   <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
 /// </PermissionSet>
 public virtual WebResponse GetResponse()
 {
     throw WebRequest.GetMustImplement();
 }
Example #2
0
 /// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data needed to serialize the target object.</summary>
 /// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data. </param>
 /// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
 protected virtual void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
 {
     throw WebRequest.GetMustImplement();
 }
Example #3
0
 /// <summary>When overridden in a descendant class, returns a <see cref="T:System.IO.Stream" /> for writing data to the Internet resource.</summary>
 /// <returns>A <see cref="T:System.IO.Stream" /> for writing data to the Internet resource.</returns>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 /// <PermissionSet>
 ///   <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
 /// </PermissionSet>
 public virtual Stream GetRequestStream()
 {
     throw WebRequest.GetMustImplement();
 }
Example #4
0
 /// <summary>When overridden in a descendant class, returns a <see cref="T:System.Net.WebResponse" />.</summary>
 /// <returns>A <see cref="T:System.Net.WebResponse" /> that contains a response to the Internet request.</returns>
 /// <param name="asyncResult">An <see cref="T:System.IAsyncResult" /> that references a pending request for a response. </param>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 public virtual WebResponse EndGetResponse(IAsyncResult asyncResult)
 {
     throw WebRequest.GetMustImplement();
 }
Example #5
0
 /// <summary>When overridden in a descendant class, returns a <see cref="T:System.IO.Stream" /> for writing data to the Internet resource.</summary>
 /// <returns>A <see cref="T:System.IO.Stream" /> to write data to.</returns>
 /// <param name="asyncResult">An <see cref="T:System.IAsyncResult" /> that references a pending request for a stream. </param>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 public virtual Stream EndGetRequestStream(IAsyncResult asyncResult)
 {
     throw WebRequest.GetMustImplement();
 }
Example #6
0
 /// <summary>When overridden in a descendant class, begins an asynchronous request for an Internet resource.</summary>
 /// <returns>An <see cref="T:System.IAsyncResult" /> that references the asynchronous request.</returns>
 /// <param name="callback">The <see cref="T:System.AsyncCallback" /> delegate. </param>
 /// <param name="state">An object containing state information for this asynchronous request. </param>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, object state)
 {
     throw WebRequest.GetMustImplement();
 }
Example #7
0
 /// <summary>Aborts the Request </summary>
 /// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception>
 /// <PermissionSet>
 ///   <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
 /// </PermissionSet>
 public virtual void Abort()
 {
     throw WebRequest.GetMustImplement();
 }