HttpMessageInvoker.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="HttpMessageInvoker" FullName="System.Net.Http.HttpMessageInvoker">
  3. <TypeSignature Language="C#" Value="public class HttpMessageInvoker : IDisposable" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit HttpMessageInvoker extends System.Object implements class System.IDisposable" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Net.Http</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Object</BaseTypeName>
  11. </Base>
  12. <Interfaces>
  13. <Interface>
  14. <InterfaceName>System.IDisposable</InterfaceName>
  15. </Interface>
  16. </Interfaces>
  17. <Docs>
  18. <remarks>
  19. <attribution license="cc4" from="Microsoft" modified="false" />
  20. <para>This class is the base type for <see cref="T:System.Net.Http.HttpClient" /> and other message originators.</para>
  21. <para>Most applications that are connecting to a web site will use one of the <see cref="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage)" /> methods on the <see cref="T:System.Net.Http.HttpClient" /> class.</para>
  22. </remarks>
  23. <summary>
  24. <attribution license="cc4" from="Microsoft" modified="false" />
  25. <para>A specialty class that allows applications to call the <see cref="M:System.Net.Http.HttpMessageInvoker.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" /> method on an Http handler chain. </para>
  26. </summary>
  27. </Docs>
  28. <Members>
  29. <Member MemberName=".ctor">
  30. <MemberSignature Language="C#" Value="public HttpMessageInvoker (System.Net.Http.HttpMessageHandler handler);" />
  31. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Net.Http.HttpMessageHandler handler) cil managed" />
  32. <MemberType>Constructor</MemberType>
  33. <AssemblyInfo>
  34. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  35. </AssemblyInfo>
  36. <Parameters>
  37. <Parameter Name="handler" Type="System.Net.Http.HttpMessageHandler" />
  38. </Parameters>
  39. <Docs>
  40. <remarks>To be added.</remarks>
  41. <summary>
  42. <attribution license="cc4" from="Microsoft" modified="false" />
  43. <para>Initializes an instance of a <see cref="T:System.Net.Http.HttpMessageInvoker" /> class with a specific <see cref="T:System.Net.Http.HttpMessageHandler" />.</para>
  44. </summary>
  45. <param name="handler">
  46. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Net.Http.HttpMessageHandler" /> responsible for processing the HTTP response messages.</param>
  47. </Docs>
  48. </Member>
  49. <Member MemberName=".ctor">
  50. <MemberSignature Language="C#" Value="public HttpMessageInvoker (System.Net.Http.HttpMessageHandler handler, bool disposeHandler);" />
  51. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Net.Http.HttpMessageHandler handler, bool disposeHandler) cil managed" />
  52. <MemberType>Constructor</MemberType>
  53. <AssemblyInfo>
  54. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  55. </AssemblyInfo>
  56. <Parameters>
  57. <Parameter Name="handler" Type="System.Net.Http.HttpMessageHandler" />
  58. <Parameter Name="disposeHandler" Type="System.Boolean" />
  59. </Parameters>
  60. <Docs>
  61. <remarks>To be added.</remarks>
  62. <summary>
  63. <attribution license="cc4" from="Microsoft" modified="false" />
  64. <para>Initializes an instance of a <see cref="T:System.Net.Http.HttpMessageInvoker" /> class with a specific <see cref="T:System.Net.Http.HttpMessageHandler" />.</para>
  65. </summary>
  66. <param name="handler">
  67. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Net.Http.HttpMessageHandler" /> responsible for processing the HTTP response messages.</param>
  68. <param name="disposeHandler">
  69. <attribution license="cc4" from="Microsoft" modified="false" />true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler.</param>
  70. </Docs>
  71. </Member>
  72. <Member MemberName="Dispose">
  73. <MemberSignature Language="C#" Value="public void Dispose ();" />
  74. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
  75. <MemberType>Method</MemberType>
  76. <AssemblyInfo>
  77. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  78. </AssemblyInfo>
  79. <ReturnValue>
  80. <ReturnType>System.Void</ReturnType>
  81. </ReturnValue>
  82. <Parameters />
  83. <Docs>
  84. <remarks>To be added.</remarks>
  85. <summary>
  86. <attribution license="cc4" from="Microsoft" modified="false" />
  87. <para>Releases the unmanaged resources and disposes of the managed resources used by the <see cref="T:System.Net.Http.HttpMessageInvoker" />.</para>
  88. </summary>
  89. </Docs>
  90. </Member>
  91. <Member MemberName="Dispose">
  92. <MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" />
  93. <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" />
  94. <MemberType>Method</MemberType>
  95. <AssemblyInfo>
  96. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  97. </AssemblyInfo>
  98. <ReturnValue>
  99. <ReturnType>System.Void</ReturnType>
  100. </ReturnValue>
  101. <Parameters>
  102. <Parameter Name="disposing" Type="System.Boolean" />
  103. </Parameters>
  104. <Docs>
  105. <remarks>To be added.</remarks>
  106. <summary>
  107. <attribution license="cc4" from="Microsoft" modified="false" />
  108. <para>Releases the unmanaged resources used by the <see cref="T:System.Net.Http.HttpMessageInvoker" /> and optionally disposes of the managed resources.</para>
  109. </summary>
  110. <param name="disposing">
  111. <attribution license="cc4" from="Microsoft" modified="false" />true to release both managed and unmanaged resources; false to releases only unmanaged resources.</param>
  112. </Docs>
  113. </Member>
  114. <Member MemberName="SendAsync">
  115. <MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task&lt;System.Net.Http.HttpResponseMessage&gt; SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);" />
  116. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1&lt;class System.Net.Http.HttpResponseMessage&gt; SendAsync(class System.Net.Http.HttpRequestMessage request, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
  117. <MemberType>Method</MemberType>
  118. <AssemblyInfo>
  119. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  120. </AssemblyInfo>
  121. <ReturnValue>
  122. <ReturnType>System.Threading.Tasks.Task&lt;System.Net.Http.HttpResponseMessage&gt;</ReturnType>
  123. </ReturnValue>
  124. <Parameters>
  125. <Parameter Name="request" Type="System.Net.Http.HttpRequestMessage" />
  126. <Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
  127. </Parameters>
  128. <Docs>
  129. <remarks>
  130. <attribution license="cc4" from="Microsoft" modified="false" />
  131. <para>This operation will not block. The returned <see cref="T:System.Threading.Tasks.Task`1" /> object will complete once the entire response including content is read.</para>
  132. <para>Most applications that are connecting to a web site will use one of the <see cref="M:System.Net.Http.HttpClient.SendAsync(System.Net.Http.HttpRequestMessage)" /> methods on the <see cref="T:System.Net.Http.HttpClient" /> class.</para>
  133. </remarks>
  134. <summary>
  135. <attribution license="cc4" from="Microsoft" modified="false" />
  136. <para>Send an HTTP request as an asynchronous operation.</para>
  137. </summary>
  138. <returns>
  139. <attribution license="cc4" from="Microsoft" modified="false" />
  140. <para>Returns <see cref="T:System.Threading.Tasks.Task`1" />.</para>
  141. <para>The task object representing the asynchronous operation.</para>
  142. </returns>
  143. <param name="request">
  144. <attribution license="cc4" from="Microsoft" modified="false" />The HTTP request message to send.</param>
  145. <param name="cancellationToken">
  146. <attribution license="cc4" from="Microsoft" modified="false" />The cancellation token to cancel operation.</param>
  147. </Docs>
  148. </Member>
  149. </Members>
  150. </Type>