AnonymousPipeClientStream.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="AnonymousPipeClientStream" FullName="System.IO.Pipes.AnonymousPipeClientStream">
  3. <TypeSignature Language="C#" Value="public sealed class AnonymousPipeClientStream : System.IO.Pipes.PipeStream" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit AnonymousPipeClientStream extends System.IO.Pipes.PipeStream" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.IO.Pipes.PipeStream</BaseTypeName>
  11. </Base>
  12. <Interfaces />
  13. <Attributes>
  14. <Attribute>
  15. <AttributeName>System.MonoTODO("Anonymous pipes are not working even on win32, due to some access authorization issue")</AttributeName>
  16. </Attribute>
  17. </Attributes>
  18. <Docs>
  19. <remarks>
  20. <attribution license="cc4" from="Microsoft" modified="false" />
  21. <para>Anonymous pipes help provide safe and secure interprocess communication between child and parent processes. The <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class enables a child process to connect to and exchange information with a parent process.</para>
  22. <para>Anonymous pipes are unnamed, one-way pipes that typically transfer data between parent and child processes. Anonymous pipes are always local; they cannot be used over a network. A <see cref="T:System.IO.Pipes.PipeDirection" /> value of <see cref="F:System.IO.Pipes.PipeDirection.InOut" /> is not supported because anonymous pipes are defined to be one-way.</para>
  23. <para>Anonymous pipes do not support <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" /> read modes.</para>
  24. <para>The client side of an anonymous pipe must be created from a pipe handle provided by the server side by calling the <see cref="M:System.IO.Pipes.AnonymousPipeServerStream.GetClientHandleAsString" /> method. The string is then passed as a parameter when creating the client process. From the client process, it is passed to the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> constructor as the <paramref name="pipeHandleAsString" /> parameter.</para>
  25. <block subset="none" type="note">
  26. <para>For winxppro and win2kserver, a maximum of 10 pipes can simultaneously connect over the network.</para>
  27. </block>
  28. </remarks>
  29. <summary>
  30. <attribution license="cc4" from="Microsoft" modified="false" />
  31. <para>Exposes the client side of an anonymous pipe stream, which supports both synchronous and asynchronous read and write operations.</para>
  32. </summary>
  33. </Docs>
  34. <Members>
  35. <Member MemberName=".ctor">
  36. <MemberSignature Language="C#" Value="public AnonymousPipeClientStream (string pipeHandleAsString);" />
  37. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string pipeHandleAsString) cil managed" />
  38. <MemberType>Constructor</MemberType>
  39. <AssemblyInfo>
  40. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  41. </AssemblyInfo>
  42. <Parameters>
  43. <Parameter Name="pipeHandleAsString" Type="System.String" />
  44. </Parameters>
  45. <Docs>
  46. <remarks>
  47. <attribution license="cc4" from="Microsoft" modified="false" />
  48. <para>For constructors without a <see cref="T:System.IO.Pipes.PipeDirection" /> parameter, the default direction is <see cref="F:System.IO.Pipes.PipeDirection.In" />.</para>
  49. </remarks>
  50. <summary>
  51. <attribution license="cc4" from="Microsoft" modified="false" />
  52. <para>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class with the specified string representation of the pipe handle.</para>
  53. </summary>
  54. <param name="pipeHandleAsString">
  55. <attribution license="cc4" from="Microsoft" modified="false" />A string that represents the pipe handle.</param>
  56. </Docs>
  57. </Member>
  58. <Member MemberName=".ctor">
  59. <MemberSignature Language="C#" Value="public AnonymousPipeClientStream (System.IO.Pipes.PipeDirection direction, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle);" />
  60. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.IO.Pipes.PipeDirection direction, class Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) cil managed" />
  61. <MemberType>Constructor</MemberType>
  62. <AssemblyInfo>
  63. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  64. </AssemblyInfo>
  65. <Parameters>
  66. <Parameter Name="direction" Type="System.IO.Pipes.PipeDirection" />
  67. <Parameter Name="safePipeHandle" Type="Microsoft.Win32.SafeHandles.SafePipeHandle" />
  68. </Parameters>
  69. <Docs>
  70. <remarks>
  71. <attribution license="cc4" from="Microsoft" modified="false" />
  72. <para>A <see cref="T:System.IO.Pipes.PipeDirection" /> value of <see cref="F:System.IO.Pipes.PipeDirection.InOut" /> is not supported because anonymous pipes are defined to be one-way.</para>
  73. </remarks>
  74. <summary>
  75. <attribution license="cc4" from="Microsoft" modified="false" />
  76. <para>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class from the specified handle.</para>
  77. </summary>
  78. <param name="direction">
  79. <attribution license="cc4" from="Microsoft" modified="false" />One of the enumeration values that determines the direction of the pipe.</param>
  80. <param name="safePipeHandle">
  81. <attribution license="cc4" from="Microsoft" modified="false" />A safe handle for the pipe that this <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object will encapsulate.</param>
  82. </Docs>
  83. </Member>
  84. <Member MemberName=".ctor">
  85. <MemberSignature Language="C#" Value="public AnonymousPipeClientStream (System.IO.Pipes.PipeDirection direction, string pipeHandleAsString);" />
  86. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.IO.Pipes.PipeDirection direction, string pipeHandleAsString) cil managed" />
  87. <MemberType>Constructor</MemberType>
  88. <AssemblyInfo>
  89. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  90. </AssemblyInfo>
  91. <Parameters>
  92. <Parameter Name="direction" Type="System.IO.Pipes.PipeDirection" />
  93. <Parameter Name="pipeHandleAsString" Type="System.String" />
  94. </Parameters>
  95. <Docs>
  96. <remarks>
  97. <attribution license="cc4" from="Microsoft" modified="false" />
  98. <para>A <see cref="T:System.IO.Pipes.PipeDirection" /> value of <see cref="F:System.IO.Pipes.PipeDirection.InOut" /> is not supported because anonymous pipes are defined to be one-way.</para>
  99. </remarks>
  100. <summary>
  101. <attribution license="cc4" from="Microsoft" modified="false" />
  102. <para>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class with the specified pipe direction and a string representation of the pipe handle.</para>
  103. </summary>
  104. <param name="direction">
  105. <attribution license="cc4" from="Microsoft" modified="false" />One of the enumeration values that determines the direction of the pipe.</param>
  106. <param name="pipeHandleAsString">
  107. <attribution license="cc4" from="Microsoft" modified="false" />A string that represents the pipe handle.</param>
  108. </Docs>
  109. </Member>
  110. <Member MemberName="Finalize">
  111. <MemberSignature Language="C#" Value="~AnonymousPipeClientStream ();" />
  112. <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
  113. <MemberType>Method</MemberType>
  114. <AssemblyInfo>
  115. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  116. </AssemblyInfo>
  117. <ReturnValue>
  118. <ReturnType>System.Void</ReturnType>
  119. </ReturnValue>
  120. <Parameters />
  121. <Docs>
  122. <summary>To be added.</summary>
  123. <remarks>To be added.</remarks>
  124. </Docs>
  125. </Member>
  126. <Member MemberName="ReadMode">
  127. <MemberSignature Language="C#" Value="public override System.IO.Pipes.PipeTransmissionMode ReadMode { set; }" />
  128. <MemberSignature Language="ILAsm" Value=".property instance valuetype System.IO.Pipes.PipeTransmissionMode ReadMode" />
  129. <MemberType>Property</MemberType>
  130. <AssemblyInfo>
  131. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  132. </AssemblyInfo>
  133. <ReturnValue>
  134. <ReturnType>System.IO.Pipes.PipeTransmissionMode</ReturnType>
  135. </ReturnValue>
  136. <Docs>
  137. <value>To be added.</value>
  138. <remarks>
  139. <attribution license="cc4" from="Microsoft" modified="false" />
  140. <para>Anonymous pipes do not support <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" /> read mode.</para>
  141. </remarks>
  142. <summary>
  143. <attribution license="cc4" from="Microsoft" modified="false" />
  144. <para>Sets the reading mode for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object.</para>
  145. </summary>
  146. </Docs>
  147. </Member>
  148. <Member MemberName="TransmissionMode">
  149. <MemberSignature Language="C#" Value="public override System.IO.Pipes.PipeTransmissionMode TransmissionMode { get; }" />
  150. <MemberSignature Language="ILAsm" Value=".property instance valuetype System.IO.Pipes.PipeTransmissionMode TransmissionMode" />
  151. <MemberType>Property</MemberType>
  152. <AssemblyInfo>
  153. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  154. </AssemblyInfo>
  155. <ReturnValue>
  156. <ReturnType>System.IO.Pipes.PipeTransmissionMode</ReturnType>
  157. </ReturnValue>
  158. <Docs>
  159. <value>To be added.</value>
  160. <remarks>
  161. <attribution license="cc4" from="Microsoft" modified="false" />
  162. <para>Anonymous pipes do not support <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" /> read mode.</para>
  163. </remarks>
  164. <summary>
  165. <attribution license="cc4" from="Microsoft" modified="false" />
  166. <para>Gets the pipe transmission mode supported by the current pipe.</para>
  167. </summary>
  168. </Docs>
  169. </Member>
  170. </Members>
  171. </Type>