Revert "PR-5360"
[platform/core/csapi/tizenfx.git] / pkg / Tizen.NET.API11 / build / tizen11.0 / ref / System.IO.Pipes.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <doc>
3   <assembly>
4     <name>System.IO.Pipes</name>
5   </assembly>
6   <members>
7     <member name="T:Microsoft.Win32.SafeHandles.SafePipeHandle">
8       <summary>Represents a wrapper class for a pipe handle.</summary>
9     </member>
10     <member name="M:Microsoft.Win32.SafeHandles.SafePipeHandle.#ctor(System.IntPtr,System.Boolean)">
11       <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafePipeHandle" /> class.</summary>
12       <param name="preexistingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
13       <param name="ownsHandle">
14         <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
15     </member>
16     <member name="P:Microsoft.Win32.SafeHandles.SafePipeHandle.IsInvalid" />
17     <member name="T:System.IO.Pipes.AnonymousPipeClientStream">
18       <summary>Exposes the client side of an anonymous pipe stream, which supports both synchronous and asynchronous read and write operations.</summary>
19     </member>
20     <member name="M:System.IO.Pipes.AnonymousPipeClientStream.#ctor(System.IO.Pipes.PipeDirection,Microsoft.Win32.SafeHandles.SafePipeHandle)">
21       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class from the specified handle.</summary>
22       <param name="direction">One of the enumeration values that determines the direction of the pipe.
23 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
24       <param name="safePipeHandle">A safe handle for the pipe that this <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object will encapsulate.</param>
25       <exception cref="T:System.ArgumentException">
26         <paramref name="safePipeHandle" /> is not a valid handle.</exception>
27       <exception cref="T:System.ArgumentNullException">
28         <paramref name="safePipeHandle" /> is <see langword="null" />.</exception>
29       <exception cref="T:System.NotSupportedException">
30         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
31       <exception cref="T:System.IO.IOException">An I/O error, such as a disk error, has occurred.
32 -or-
33 The stream has been closed.</exception>
34     </member>
35     <member name="M:System.IO.Pipes.AnonymousPipeClientStream.#ctor(System.IO.Pipes.PipeDirection,System.String)">
36       <summary>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.</summary>
37       <param name="direction">One of the enumeration values that determines the direction of the pipe.
38 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
39       <param name="pipeHandleAsString">A string that represents the pipe handle.</param>
40       <exception cref="T:System.ArgumentException">
41         <paramref name="pipeHandleAsString" /> is an invalid handle.</exception>
42       <exception cref="T:System.ArgumentNullException">
43         <paramref name="pipeHandleAsString" /> is <see langword="null" />.</exception>
44       <exception cref="T:System.NotSupportedException">
45         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
46     </member>
47     <member name="M:System.IO.Pipes.AnonymousPipeClientStream.#ctor(System.String)">
48       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> class with the specified string representation of the pipe handle.</summary>
49       <param name="pipeHandleAsString">A string that represents the pipe handle.</param>
50       <exception cref="T:System.IO.IOException">
51         <paramref name="pipeHandleAsString" /> is not a valid pipe handle.</exception>
52     </member>
53     <member name="M:System.IO.Pipes.AnonymousPipeClientStream.Finalize">
54       <summary>Releases unmanaged resources and performs other cleanup operations before the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> instance is reclaimed by garbage collection.</summary>
55     </member>
56     <member name="P:System.IO.Pipes.AnonymousPipeClientStream.ReadMode">
57       <summary>Sets the reading mode for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object.</summary>
58       <returns>The <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object.</returns>
59       <exception cref="T:System.ArgumentOutOfRangeException">The transmission mode is not valid. For anonymous pipes, only <see cref="F:System.IO.Pipes.PipeTransmissionMode.Byte" /> is supported.</exception>
60       <exception cref="T:System.NotSupportedException">The transmission mode is <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" />.</exception>
61       <exception cref="T:System.IO.IOException">The connection is broken or another I/O error occurs.</exception>
62       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
63     </member>
64     <member name="P:System.IO.Pipes.AnonymousPipeClientStream.TransmissionMode">
65       <summary>Gets the pipe transmission mode supported by the current pipe.</summary>
66       <returns>The <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> supported by the current pipe.</returns>
67     </member>
68     <member name="T:System.IO.Pipes.AnonymousPipeServerStream">
69       <summary>Exposes a stream around an anonymous pipe, which supports both synchronous and asynchronous read and write operations.</summary>
70     </member>
71     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.#ctor">
72       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> class.</summary>
73     </member>
74     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.#ctor(System.IO.Pipes.PipeDirection)">
75       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> class with the specified pipe direction.</summary>
76       <param name="direction">One of the enumeration values that determines the direction of the pipe.
77 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
78       <exception cref="T:System.NotSupportedException">
79         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
80     </member>
81     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.#ctor(System.IO.Pipes.PipeDirection,Microsoft.Win32.SafeHandles.SafePipeHandle,Microsoft.Win32.SafeHandles.SafePipeHandle)">
82       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> class from the specified pipe handles.</summary>
83       <param name="direction">One of the enumeration values that determines the direction of the pipe.
84 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
85       <param name="serverSafePipeHandle">A safe handle for the pipe that this <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> object will encapsulate.</param>
86       <param name="clientSafePipeHandle">A safe handle for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object.</param>
87       <exception cref="T:System.ArgumentException">
88         <paramref name="serverSafePipeHandle" /> or <paramref name="clientSafePipeHandle" /> is an invalid handle.</exception>
89       <exception cref="T:System.ArgumentNullException">
90         <paramref name="serverSafePipeHandle" /> or <paramref name="clientSafePipeHandle" /> is <see langword="null" />.</exception>
91       <exception cref="T:System.NotSupportedException">
92         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
93       <exception cref="T:System.IO.IOException">An I/O error, such as a disk error, has occurred.
94 -or-
95 The stream has been closed.</exception>
96     </member>
97     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.#ctor(System.IO.Pipes.PipeDirection,System.IO.HandleInheritability)">
98       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> class with the specified pipe direction and inheritability mode.</summary>
99       <param name="direction">One of the enumeration values that determines the direction of the pipe.
100 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
101       <param name="inheritability">One of the enumeration values that determines whether the underlying handle can be inherited by child processes. Must be set to either <see cref="F:System.IO.HandleInheritability.None" /> or <see cref="F:System.IO.HandleInheritability.Inheritable" />.</param>
102       <exception cref="T:System.ArgumentOutOfRangeException">
103         <paramref name="inheritability" /> is not set to either <see cref="F:System.IO.HandleInheritability.None" /> or <see cref="F:System.IO.HandleInheritability.Inheritable" />.</exception>
104       <exception cref="T:System.NotSupportedException">
105         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
106     </member>
107     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.#ctor(System.IO.Pipes.PipeDirection,System.IO.HandleInheritability,System.Int32)">
108       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> class with the specified pipe direction, inheritability mode, and buffer size.</summary>
109       <param name="direction">One of the enumeration values that determines the direction of the pipe.
110 Anonymous pipes can only be in one direction, so <paramref name="direction" /> cannot be set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</param>
111       <param name="inheritability">One of the enumeration values that determines whether the underlying handle can be inherited by child processes. Must be set to either <see cref="F:System.IO.HandleInheritability.None" /> or <see cref="F:System.IO.HandleInheritability.Inheritable" />.</param>
112       <param name="bufferSize">The size of the buffer. This value must be greater than or equal to 0.</param>
113       <exception cref="T:System.ArgumentOutOfRangeException">
114         <paramref name="inheritability" /> is not set to either <see cref="F:System.IO.HandleInheritability.None" /> or <see cref="F:System.IO.HandleInheritability.Inheritable" />.
115 -or-
116 <paramref name="bufferSize" /> is less than 0.</exception>
117       <exception cref="T:System.NotSupportedException">
118         <paramref name="direction" /> is set to <see cref="F:System.IO.Pipes.PipeDirection.InOut" />.</exception>
119     </member>
120     <member name="P:System.IO.Pipes.AnonymousPipeServerStream.ClientSafePipeHandle">
121       <summary>Gets the safe handle for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object that is currently connected to the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> object.</summary>
122       <returns>A handle for the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object that is currently connected to the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> object.</returns>
123     </member>
124     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.DisposeLocalCopyOfClientHandle">
125       <summary>Closes the local copy of the <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object's handle.</summary>
126     </member>
127     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.Finalize">
128       <summary>Releases unmanaged resources and performs other cleanup operations before the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> instance is reclaimed by garbage collection.</summary>
129     </member>
130     <member name="M:System.IO.Pipes.AnonymousPipeServerStream.GetClientHandleAsString">
131       <summary>Gets the connected <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object's handle as a string.</summary>
132       <returns>A string that represents the connected <see cref="T:System.IO.Pipes.AnonymousPipeClientStream" /> object's handle.</returns>
133     </member>
134     <member name="P:System.IO.Pipes.AnonymousPipeServerStream.ReadMode">
135       <summary>Sets the reading mode for the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> object. For anonymous pipes, transmission mode must be <see cref="F:System.IO.Pipes.PipeTransmissionMode.Byte" />.</summary>
136       <returns>The reading mode for the <see cref="T:System.IO.Pipes.AnonymousPipeServerStream" /> object.</returns>
137       <exception cref="T:System.ArgumentOutOfRangeException">The transmission mode is not valid. For anonymous pipes, only <see cref="F:System.IO.Pipes.PipeTransmissionMode.Byte" /> is supported.</exception>
138       <exception cref="T:System.NotSupportedException">The property is set to <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" />, which is not supported for anonymous pipes.</exception>
139       <exception cref="T:System.IO.IOException">The connection is broken or another I/O error occurs.</exception>
140       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
141     </member>
142     <member name="P:System.IO.Pipes.AnonymousPipeServerStream.TransmissionMode">
143       <summary>Gets the pipe transmission mode that is supported by the current pipe.</summary>
144       <returns>The <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> that is supported by the current pipe.</returns>
145     </member>
146     <member name="T:System.IO.Pipes.NamedPipeClientStream">
147       <summary>Exposes a <see cref="T:System.IO.Stream" /> around a named pipe, which supports both synchronous and asynchronous read and write operations.</summary>
148     </member>
149     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.IO.Pipes.PipeDirection,System.Boolean,System.Boolean,Microsoft.Win32.SafeHandles.SafePipeHandle)">
150       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class for the specified pipe handle with the specified pipe direction.</summary>
151       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
152       <param name="isAsync">
153         <see langword="true" /> to indicate that the handle was opened asynchronously; otherwise, <see langword="false" />.</param>
154       <param name="isConnected">
155         <see langword="true" /> to indicate that the pipe is connected; otherwise, <see langword="false" />.</param>
156       <param name="safePipeHandle">A safe handle for the pipe that this <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> object will encapsulate.</param>
157       <exception cref="T:System.IO.IOException">The stream has been closed.</exception>
158       <exception cref="T:System.ArgumentException">
159         <paramref name="safePipeHandle" /> is not a valid handle.</exception>
160       <exception cref="T:System.ArgumentNullException">
161         <paramref name="safePipeHandle" /> is <see langword="null" />.</exception>
162       <exception cref="T:System.ArgumentOutOfRangeException">
163         <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.</exception>
164     </member>
165     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String)">
166       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe name.</summary>
167       <param name="pipeName">The name of the pipe.</param>
168       <exception cref="T:System.ArgumentNullException">
169         <paramref name="pipeName" /> is <see langword="null" />.</exception>
170       <exception cref="T:System.ArgumentException">
171         <paramref name="pipeName" /> is a zero-length string.</exception>
172       <exception cref="T:System.ArgumentOutOfRangeException">
173         <paramref name="pipeName" /> is set to "anonymous".</exception>
174     </member>
175     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String)">
176       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe and server names.</summary>
177       <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
178       <param name="pipeName">The name of the pipe.</param>
179       <exception cref="T:System.ArgumentNullException">
180         <paramref name="pipeName" /> or <paramref name="serverName" /> is <see langword="null" />.</exception>
181       <exception cref="T:System.ArgumentException">
182         <paramref name="pipeName" /> or <paramref name="serverName" /> is a zero-length string.</exception>
183       <exception cref="T:System.ArgumentOutOfRangeException">
184         <paramref name="pipeName" /> is set to "anonymous".</exception>
185     </member>
186     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection)">
187       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe and server names, and the specified pipe direction.</summary>
188       <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
189       <param name="pipeName">The name of the pipe.</param>
190       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
191       <exception cref="T:System.ArgumentNullException">
192         <paramref name="pipeName" /> or <paramref name="serverName" /> is <see langword="null" />.</exception>
193       <exception cref="T:System.ArgumentException">
194         <paramref name="pipeName" /> or <paramref name="serverName" /> is a zero-length string.</exception>
195       <exception cref="T:System.ArgumentOutOfRangeException">
196         <paramref name="pipeName" /> is set to "anonymous".
197 -or-
198 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.</exception>
199     </member>
200     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions)">
201       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe and server names, and the specified pipe direction and pipe options.</summary>
202       <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
203       <param name="pipeName">The name of the pipe.</param>
204       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
205       <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
206       <exception cref="T:System.ArgumentNullException">
207         <paramref name="pipeName" /> or <paramref name="serverName" /> is <see langword="null" />.</exception>
208       <exception cref="T:System.ArgumentException">
209         <paramref name="pipeName" /> or <paramref name="serverName" /> is a zero-length string.</exception>
210       <exception cref="T:System.ArgumentOutOfRangeException">
211         <paramref name="pipeName" /> is set to "anonymous".
212 -or-
213 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
214 -or-
215 <paramref name="options" /> is not a valid <see cref="T:System.IO.Pipes.PipeOptions" /> value.</exception>
216     </member>
217     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel)">
218       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe and server names, and the specified pipe direction, pipe options, and security impersonation level.</summary>
219       <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
220       <param name="pipeName">The name of the pipe.</param>
221       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
222       <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
223       <param name="impersonationLevel">One of the enumeration values that determines the security impersonation level.</param>
224       <exception cref="T:System.ArgumentNullException">
225         <paramref name="pipeName" /> or <paramref name="serverName" /> is <see langword="null" />.</exception>
226       <exception cref="T:System.ArgumentException">
227         <paramref name="pipeName" /> or <paramref name="serverName" /> is a zero-length string.</exception>
228       <exception cref="T:System.ArgumentOutOfRangeException">
229         <paramref name="pipeName" /> is set to "anonymous".
230 -or-
231 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
232 -or-
233 <paramref name="options" /> is not a valid <see cref="T:System.IO.Pipes.PipeOptions" /> value.
234 -or-
235 <paramref name="impersonationLevel" /> is not a valid <see cref="T:System.Security.Principal.TokenImpersonationLevel" /> value.</exception>
236     </member>
237     <member name="M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel,System.IO.HandleInheritability)">
238       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> class with the specified pipe and server names, and the specified pipe direction, pipe options, security impersonation level, and inheritability mode.</summary>
239       <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
240       <param name="pipeName">The name of the pipe.</param>
241       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
242       <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
243       <param name="impersonationLevel">One of the enumeration values that determines the security impersonation level.</param>
244       <param name="inheritability">One of the enumeration values that determines whether the underlying handle will be inheritable by child processes.</param>
245       <exception cref="T:System.ArgumentNullException">
246         <paramref name="pipeName" /> or <paramref name="serverName" /> is <see langword="null" />.</exception>
247       <exception cref="T:System.ArgumentException">
248         <paramref name="pipeName" /> or <paramref name="serverName" /> is a zero-length string.</exception>
249       <exception cref="T:System.ArgumentOutOfRangeException">
250         <paramref name="pipeName" /> is set to "anonymous".
251 -or-
252 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
253 -or-
254 <paramref name="options" /> is not a valid <see cref="T:System.IO.Pipes.PipeOptions" /> value.
255 -or-
256 <paramref name="impersonationLevel" /> is not a valid <see cref="T:System.Security.Principal.TokenImpersonationLevel" /> value.
257 -or-
258 <paramref name="inheritability" /> is not a valid <see cref="T:System.IO.HandleInheritability" /> value.</exception>
259     </member>
260     <member name="M:System.IO.Pipes.NamedPipeClientStream.Connect">
261       <summary>Connects to a waiting server with an infinite time-out value.</summary>
262       <exception cref="T:System.InvalidOperationException">The client is already connected.</exception>
263     </member>
264     <member name="M:System.IO.Pipes.NamedPipeClientStream.Connect(System.Int32)">
265       <summary>Connects to a waiting server within the specified time-out period.</summary>
266       <param name="timeout">The number of milliseconds to wait for the server to respond before the connection times out.</param>
267       <exception cref="T:System.TimeoutException">Could not connect to the server within the specified <paramref name="timeout" /> period.</exception>
268       <exception cref="T:System.ArgumentOutOfRangeException">
269         <paramref name="timeout" /> is less than 0 and not set to <see cref="F:System.Threading.Timeout.Infinite" />.</exception>
270       <exception cref="T:System.InvalidOperationException">The client is already connected.</exception>
271       <exception cref="T:System.IO.IOException">The server is connected to another client and the time-out period has expired.</exception>
272     </member>
273     <member name="M:System.IO.Pipes.NamedPipeClientStream.ConnectAsync">
274       <summary>Asynchronously connects to a waiting server with an infinite timeout period.</summary>
275       <returns>A task that represents the asynchronous connect operation.</returns>
276     </member>
277     <member name="M:System.IO.Pipes.NamedPipeClientStream.ConnectAsync(System.Int32)">
278       <summary>Asynchronously connects to a waiting server within the specified timeout period.</summary>
279       <param name="timeout">The number of milliseconds to wait for the server to respond before the connection times out.</param>
280       <returns>A task that represents the asynchronous connect operation.</returns>
281     </member>
282     <member name="M:System.IO.Pipes.NamedPipeClientStream.ConnectAsync(System.Int32,System.Threading.CancellationToken)">
283       <summary>Asynchronously connects to a waiting server within the specified timeout period and monitors cancellation requests.</summary>
284       <param name="timeout">The number of milliseconds to wait for the server to respond before the connection times out.</param>
285       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
286       <returns>A task that represents the asynchronous connect operation.</returns>
287     </member>
288     <member name="M:System.IO.Pipes.NamedPipeClientStream.ConnectAsync(System.Threading.CancellationToken)">
289       <summary>Asynchronously connects to a waiting server and monitors cancellation requests.</summary>
290       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
291       <returns>A task that represents the asynchronous connect operation.</returns>
292     </member>
293     <member name="M:System.IO.Pipes.NamedPipeClientStream.Finalize">
294       <summary>Releases unmanaged resources and performs other cleanup operations before the <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> instance is reclaimed by garbage collection.</summary>
295     </member>
296     <member name="P:System.IO.Pipes.NamedPipeClientStream.NumberOfServerInstances">
297       <summary>Gets the number of server instances that share the same pipe name.</summary>
298       <returns>The number of server instances that share the same pipe name.</returns>
299       <exception cref="T:System.InvalidOperationException">The pipe handle has not been set.
300 -or-
301 The current <see cref="T:System.IO.Pipes.NamedPipeClientStream" /> object has not yet connected to a <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object.</exception>
302       <exception cref="T:System.IO.IOException">The pipe is broken or an I/O error occurred.</exception>
303       <exception cref="T:System.ObjectDisposedException">The underlying pipe handle is closed.</exception>
304     </member>
305     <member name="T:System.IO.Pipes.NamedPipeServerStream">
306       <summary>Exposes a <see cref="T:System.IO.Stream" /> around a named pipe, supporting both synchronous and asynchronous read and write operations.</summary>
307     </member>
308     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.IO.Pipes.PipeDirection,System.Boolean,System.Boolean,Microsoft.Win32.SafeHandles.SafePipeHandle)">
309       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class from the specified pipe handle.</summary>
310       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
311       <param name="isAsync">
312         <see langword="true" /> to indicate that the handle was opened asynchronously; otherwise, <see langword="false" />.</param>
313       <param name="isConnected">
314         <see langword="true" /> to indicate that the pipe is connected; otherwise, <see langword="false" />.</param>
315       <param name="safePipeHandle">A safe handle for the pipe that this <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object will encapsulate.</param>
316       <exception cref="T:System.ArgumentOutOfRangeException">
317         <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.</exception>
318       <exception cref="T:System.ArgumentNullException">
319         <paramref name="safePipeHandle" /> is <see langword="null" />.</exception>
320       <exception cref="T:System.ArgumentException">
321         <paramref name="safePipeHandle" /> is an invalid handle.</exception>
322       <exception cref="T:System.IO.IOException">
323         <paramref name="safePipeHandle" /> is not a valid pipe handle.
324 -or-
325 The maximum number of server instances has been exceeded.</exception>
326     </member>
327     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String)">
328       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name.</summary>
329       <param name="pipeName">The name of the pipe.</param>
330       <exception cref="T:System.ArgumentNullException">
331         <paramref name="pipeName" /> is <see langword="null" />.</exception>
332       <exception cref="T:System.ArgumentException">
333         <paramref name="pipeName" /> is a zero-length string.</exception>
334       <exception cref="T:System.ArgumentOutOfRangeException">
335         <paramref name="pipeName" /> is set to "anonymous".</exception>
336       <exception cref="T:System.NotSupportedException">
337         <paramref name="pipeName" /> contains a colon (":").</exception>
338       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
339       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
340     </member>
341     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection)">
342       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name and pipe direction.</summary>
343       <param name="pipeName">The name of the pipe.</param>
344       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
345       <exception cref="T:System.ArgumentNullException">
346         <paramref name="pipeName" /> is <see langword="null" />.</exception>
347       <exception cref="T:System.ArgumentException">
348         <paramref name="pipeName" /> is a zero-length string.</exception>
349       <exception cref="T:System.ArgumentOutOfRangeException">
350         <paramref name="pipeName" /> is set to "anonymous".
351 -or-
352 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.</exception>
353       <exception cref="T:System.NotSupportedException">
354         <paramref name="pipeName" /> contains a colon (":").</exception>
355       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
356       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
357     </member>
358     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32)">
359       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name, pipe direction, and maximum number of server instances.</summary>
360       <param name="pipeName">The name of the pipe.</param>
361       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
362       <param name="maxNumberOfServerInstances">The maximum number of server instances that share the same name. You can pass <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" /> for this value.</param>
363       <exception cref="T:System.ArgumentNullException">
364         <paramref name="pipeName" /> is <see langword="null" />.</exception>
365       <exception cref="T:System.ArgumentException">
366         <paramref name="pipeName" /> is a zero-length string.</exception>
367       <exception cref="T:System.ArgumentOutOfRangeException">
368         <paramref name="pipeName" /> is set to "anonymous".
369 -or-
370 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
371 -or-
372 A non-negative number is required.
373 -or-
374 <paramref name="maxNumberofServerInstances" /> is less than -1 or greater than 254 (-1 indicates <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" />)
375 -or-
376 <see cref="F:System.IO.HandleInheritability.None" /> or <see cref="F:System.IO.HandleInheritability.Inheritable" /> is required.
377 -or-
378 Access rights is limited to the <see cref="F:System.IO.Pipes.PipeAccessRights.ChangePermissions" /> , <see cref="F:System.IO.Pipes.PipeAccessRights.TakeOwnership" /> , and <see cref="F:System.IO.Pipes.PipeAccessRights.AccessSystemSecurity" /> flags.</exception>
379       <exception cref="T:System.NotSupportedException">
380         <paramref name="pipeName" /> contains a colon (":").</exception>
381       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
382       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
383     </member>
384     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode)">
385       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name, pipe direction, maximum number of server instances, and transmission mode.</summary>
386       <param name="pipeName">The name of the pipe.</param>
387       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
388       <param name="maxNumberOfServerInstances">The maximum number of server instances that share the same name. You can pass <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" /> for this value.</param>
389       <param name="transmissionMode">One of the enumeration values that determines the transmission mode of the pipe.</param>
390       <exception cref="T:System.ArgumentNullException">
391         <paramref name="pipeName" /> is <see langword="null" />.</exception>
392       <exception cref="T:System.ArgumentException">
393         <paramref name="pipeName" /> is a zero-length string.</exception>
394       <exception cref="T:System.ArgumentOutOfRangeException">
395         <paramref name="pipeName" /> is set to "anonymous".
396 -or-
397 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
398 -or-
399 <paramref name="maxNumberofServerInstances" /> is less than -1 or greater than 254 (-1 indicates <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" />)</exception>
400       <exception cref="T:System.NotSupportedException">
401         <paramref name="pipeName" /> contains a colon (":").</exception>
402       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
403       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
404     </member>
405     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions)">
406       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, and pipe options.</summary>
407       <param name="pipeName">The name of the pipe.</param>
408       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
409       <param name="maxNumberOfServerInstances">The maximum number of server instances that share the same name. You can pass <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" /> for this value.</param>
410       <param name="transmissionMode">One of the enumeration values that determines the transmission mode of the pipe.</param>
411       <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
412       <exception cref="T:System.ArgumentNullException">
413         <paramref name="pipeName" /> is <see langword="null" />.</exception>
414       <exception cref="T:System.ArgumentException">
415         <paramref name="pipeName" /> is a zero-length string.</exception>
416       <exception cref="T:System.ArgumentOutOfRangeException">
417         <paramref name="pipeName" /> is set to "anonymous".
418 -or-
419 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
420 -or-
421 <paramref name="maxNumberofServerInstances" /> is less than -1 or greater than 254 (-1 indicates <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" />)
422 -or-
423 <paramref name="options" /> is not a valid <see cref="T:System.IO.Pipes.PipeOptions" /> value.</exception>
424       <exception cref="T:System.NotSupportedException">
425         <paramref name="pipeName" /> contains a colon (":").</exception>
426       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
427       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
428     </member>
429     <member name="M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32)">
430       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, pipe options, and recommended in and out buffer sizes.</summary>
431       <param name="pipeName">The name of the pipe.</param>
432       <param name="direction">One of the enumeration values that determines the direction of the pipe.</param>
433       <param name="maxNumberOfServerInstances">The maximum number of server instances that share the same name. You can pass <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" /> for this value.</param>
434       <param name="transmissionMode">One of the enumeration values that determines the transmission mode of the pipe.</param>
435       <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
436       <param name="inBufferSize">A positive value greater than 0 that indicates the input buffer size.</param>
437       <param name="outBufferSize">A positive value greater than 0 that indicates the output buffer size.</param>
438       <exception cref="T:System.ArgumentNullException">
439         <paramref name="pipeName" /> is <see langword="null" />.</exception>
440       <exception cref="T:System.ArgumentException">
441         <paramref name="pipeName" /> is a zero-length string.</exception>
442       <exception cref="T:System.ArgumentOutOfRangeException">
443         <paramref name="pipeName" /> is set to "anonymous".
444 -or-
445 <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
446 -or-
447 <paramref name="maxNumberofServerInstances" /> is less than -1 or greater than 254 (-1 indicates <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" />)
448 -or-
449 <paramref name="options" /> is not a valid <see cref="T:System.IO.Pipes.PipeOptions" /> value.
450 -or-
451 <paramref name="inBufferSize" /> is negative.</exception>
452       <exception cref="T:System.NotSupportedException">
453         <paramref name="pipeName" /> contains a colon (":").</exception>
454       <exception cref="T:System.PlatformNotSupportedException">The operating system is Windows Millennium Edition, Windows 98, or Windows 95, which are not supported.</exception>
455       <exception cref="T:System.IO.IOException">The maximum number of server instances has been exceeded.</exception>
456     </member>
457     <member name="M:System.IO.Pipes.NamedPipeServerStream.BeginWaitForConnection(System.AsyncCallback,System.Object)">
458       <summary>Begins an asynchronous operation to wait for a client to connect.</summary>
459       <param name="callback">The method to call when a client connects to the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object.</param>
460       <param name="state">A user-provided object that distinguishes this particular asynchronous request from other requests.</param>
461       <returns>An object that references the asynchronous request.</returns>
462       <exception cref="T:System.InvalidOperationException">The pipe was not opened asynchronously.
463 -or-
464 A pipe connection has already been established.
465 -or-
466 The pipe handle has not been set.</exception>
467       <exception cref="T:System.IO.IOException">The pipe connection has been broken.</exception>
468       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
469     </member>
470     <member name="M:System.IO.Pipes.NamedPipeServerStream.Disconnect">
471       <summary>Disconnects the current connection.</summary>
472       <exception cref="T:System.InvalidOperationException">No pipe connections have been made yet.
473 -or-
474 The connected pipe has already disconnected.
475 -or-
476 The pipe handle has not been set.</exception>
477       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
478     </member>
479     <member name="M:System.IO.Pipes.NamedPipeServerStream.EndWaitForConnection(System.IAsyncResult)">
480       <summary>Ends an asynchronous operation to wait for a client to connect.</summary>
481       <param name="asyncResult">The pending asynchronous request.</param>
482       <exception cref="T:System.ArgumentNullException">
483         <paramref name="asyncResult" /> is <see langword="null" />.</exception>
484       <exception cref="T:System.InvalidOperationException">The pipe was not opened asynchronously.
485 -or-
486 The pipe handle has not been set.</exception>
487       <exception cref="T:System.IO.IOException">The pipe connection has been broken.</exception>
488       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
489     </member>
490     <member name="M:System.IO.Pipes.NamedPipeServerStream.Finalize">
491       <summary>Releases unmanaged resources and performs other cleanup operations before the <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> instance is reclaimed by garbage collection.</summary>
492     </member>
493     <member name="M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName">
494       <summary>Gets the user name of the client on the other end of the pipe.</summary>
495       <returns>The user name of the client on the other end of the pipe.</returns>
496       <exception cref="T:System.InvalidOperationException">No pipe connections have been made yet.
497 -or-
498 The connected pipe has already disconnected.
499 -or-
500 The pipe handle has not been set.</exception>
501       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
502       <exception cref="T:System.IO.IOException">The pipe connection has been broken.
503 -or-
504 The user name of the client is longer than 19 characters.</exception>
505     </member>
506     <member name="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances">
507       <summary>Represents the maximum number of server instances that the system resources allow.</summary>
508     </member>
509     <member name="M:System.IO.Pipes.NamedPipeServerStream.RunAsClient(System.IO.Pipes.PipeStreamImpersonationWorker)">
510       <summary>Calls a delegate while impersonating the client.</summary>
511       <param name="impersonationWorker">The delegate that specifies a method to call.</param>
512       <exception cref="T:System.InvalidOperationException">No pipe connections have been made yet.
513 -or-
514 The connected pipe has already disconnected.
515 -or-
516 The pipe handle has not been set.</exception>
517       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
518       <exception cref="T:System.IO.IOException">The pipe connection has been broken.
519 -or-
520 An I/O error occurred.</exception>
521     </member>
522     <member name="M:System.IO.Pipes.NamedPipeServerStream.WaitForConnection">
523       <summary>Waits for a client to connect to this <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object.</summary>
524       <exception cref="T:System.InvalidOperationException">A pipe connection has already been established.
525 -or-
526 The pipe handle has not been set.</exception>
527       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
528       <exception cref="T:System.IO.IOException">The pipe connection has been broken.</exception>
529     </member>
530     <member name="M:System.IO.Pipes.NamedPipeServerStream.WaitForConnectionAsync">
531       <summary>Asynchronously waits for a client to connect to this <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object.</summary>
532       <returns>A task that represents the asynchronous wait operation.</returns>
533     </member>
534     <member name="M:System.IO.Pipes.NamedPipeServerStream.WaitForConnectionAsync(System.Threading.CancellationToken)">
535       <summary>Asynchronously waits for a client to connect to this <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> object and monitors cancellation requests.</summary>
536       <param name="cancellationToken">The token to monitor for cancellation requests.</param>
537       <returns>A task that represents the asynchronous wait operation.</returns>
538     </member>
539     <member name="T:System.IO.Pipes.PipeDirection">
540       <summary>Specifies the direction of the pipe.</summary>
541     </member>
542     <member name="F:System.IO.Pipes.PipeDirection.In">
543       <summary>Specifies that the pipe direction is in.</summary>
544     </member>
545     <member name="F:System.IO.Pipes.PipeDirection.InOut">
546       <summary>Specifies that the pipe direction is two-way.</summary>
547     </member>
548     <member name="F:System.IO.Pipes.PipeDirection.Out">
549       <summary>Specifies that the pipe direction is out.</summary>
550     </member>
551     <member name="T:System.IO.Pipes.PipeOptions">
552       <summary>Provides options for creating a <see cref="T:System.IO.Pipes.PipeStream" /> object. This enumeration has a <see cref="T:System.FlagsAttribute" /> attribute that allows a bitwise combination of its member values.</summary>
553     </member>
554     <member name="F:System.IO.Pipes.PipeOptions.Asynchronous">
555       <summary>Indicates that the pipe can be used for asynchronous reading and writing.</summary>
556     </member>
557     <member name="F:System.IO.Pipes.PipeOptions.CurrentUserOnly" />
558     <member name="F:System.IO.Pipes.PipeOptions.None">
559       <summary>Indicates that there are no additional parameters.</summary>
560     </member>
561     <member name="F:System.IO.Pipes.PipeOptions.WriteThrough">
562       <summary>Indicates that the system should write through any intermediate cache and go directly to the pipe.</summary>
563     </member>
564     <member name="T:System.IO.Pipes.PipeStream">
565       <summary>Exposes a <see cref="T:System.IO.Stream" /> object around a pipe, which supports both anonymous and named pipes.</summary>
566     </member>
567     <member name="M:System.IO.Pipes.PipeStream.#ctor(System.IO.Pipes.PipeDirection,System.Int32)">
568       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.PipeStream" /> class using the specified <see cref="T:System.IO.Pipes.PipeDirection" /> value and buffer size.</summary>
569       <param name="direction">One of the <see cref="T:System.IO.Pipes.PipeDirection" /> values that indicates the direction of the pipe object.</param>
570       <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than or equal to 0 that indicates the buffer size.</param>
571       <exception cref="T:System.ArgumentOutOfRangeException">
572         <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
573 -or-
574 <paramref name="bufferSize" /> is less than 0.</exception>
575     </member>
576     <member name="M:System.IO.Pipes.PipeStream.#ctor(System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeTransmissionMode,System.Int32)">
577       <summary>Initializes a new instance of the <see cref="T:System.IO.Pipes.PipeStream" /> class using the specified <see cref="T:System.IO.Pipes.PipeDirection" />, <see cref="T:System.IO.Pipes.PipeTransmissionMode" />, and buffer size.</summary>
578       <param name="direction">One of the <see cref="T:System.IO.Pipes.PipeDirection" /> values that indicates the direction of the pipe object.</param>
579       <param name="transmissionMode">One of the <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> values that indicates the transmission mode of the pipe object.</param>
580       <param name="outBufferSize">A positive <see cref="T:System.Int32" /> value greater than or equal to 0 that indicates the buffer size.</param>
581       <exception cref="T:System.ArgumentOutOfRangeException">
582         <paramref name="direction" /> is not a valid <see cref="T:System.IO.Pipes.PipeDirection" /> value.
583 -or-
584 <paramref name="transmissionMode" /> is not a valid <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> value.
585 -or-
586 <paramref name="bufferSize" /> is less than 0.</exception>
587     </member>
588     <member name="M:System.IO.Pipes.PipeStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
589       <summary>Begins an asynchronous read operation.</summary>
590       <param name="buffer">The buffer to read data into.</param>
591       <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin reading.</param>
592       <param name="count">The maximum number of bytes to read.</param>
593       <param name="callback">The method to call when the asynchronous read operation is completed.</param>
594       <param name="state">A user-provided object that distinguishes this particular asynchronous read request from other requests.</param>
595       <returns>An <see cref="T:System.IAsyncResult" /> object that references the asynchronous read.</returns>
596       <exception cref="T:System.ArgumentNullException">
597         <paramref name="buffer" /> is <see langword="null" />.</exception>
598       <exception cref="T:System.ArgumentOutOfRangeException">
599         <paramref name="offset" /> is less than 0.
600 -or-
601 <paramref name="count" /> is less than 0.</exception>
602       <exception cref="T:System.ArgumentException">
603         <paramref name="count" /> is greater than the number of bytes available in <paramref name="buffer" />.</exception>
604       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
605       <exception cref="T:System.NotSupportedException">The pipe does not support read operations.</exception>
606       <exception cref="T:System.InvalidOperationException">The pipe is disconnected, waiting to connect, or the handle has not been set.</exception>
607       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
608     </member>
609     <member name="M:System.IO.Pipes.PipeStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)">
610       <summary>Begins an asynchronous write operation.</summary>
611       <param name="buffer">The buffer that contains the data to write to the current stream.</param>
612       <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
613       <param name="count">The maximum number of bytes to write.</param>
614       <param name="callback">The method to call when the asynchronous write operation is completed.</param>
615       <param name="state">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param>
616       <returns>An <see cref="T:System.IAsyncResult" /> object that references the asynchronous write operation.</returns>
617       <exception cref="T:System.ArgumentNullException">
618         <paramref name="buffer" /> is <see langword="null" />.</exception>
619       <exception cref="T:System.ArgumentOutOfRangeException">
620         <paramref name="offset" /> is less than 0.
621 -or-
622 <paramref name="count" /> is less than 0.</exception>
623       <exception cref="T:System.ArgumentException">
624         <paramref name="count" /> is greater than the number of bytes available in <paramref name="buffer" />.</exception>
625       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
626       <exception cref="T:System.NotSupportedException">The pipe does not support write operations.</exception>
627       <exception cref="T:System.InvalidOperationException">The pipe is disconnected, waiting to connect, or the handle has not been set.</exception>
628       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
629     </member>
630     <member name="P:System.IO.Pipes.PipeStream.CanRead">
631       <summary>Gets a value indicating whether the current stream supports read operations.</summary>
632       <returns>
633         <see langword="true" /> if the stream supports read operations; otherwise, <see langword="false" />.</returns>
634     </member>
635     <member name="P:System.IO.Pipes.PipeStream.CanSeek">
636       <summary>Gets a value indicating whether the current stream supports seek operations.</summary>
637       <returns>
638         <see langword="false" /> in all cases.</returns>
639     </member>
640     <member name="P:System.IO.Pipes.PipeStream.CanWrite">
641       <summary>Gets a value indicating whether the current stream supports write operations.</summary>
642       <returns>
643         <see langword="true" /> if the stream supports write operations; otherwise, <see langword="false" />.</returns>
644     </member>
645     <member name="M:System.IO.Pipes.PipeStream.CheckPipePropertyOperations">
646       <summary>Verifies that the pipe is in a proper state for getting or setting properties.</summary>
647     </member>
648     <member name="M:System.IO.Pipes.PipeStream.CheckReadOperations">
649       <summary>Verifies that the pipe is in a connected state for read operations.</summary>
650     </member>
651     <member name="M:System.IO.Pipes.PipeStream.CheckWriteOperations">
652       <summary>Verifies that the pipe is in a connected state for write operations.</summary>
653     </member>
654     <member name="M:System.IO.Pipes.PipeStream.Dispose(System.Boolean)">
655       <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.Pipes.PipeStream" /> class and optionally releases the managed resources.</summary>
656       <param name="disposing">
657         <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
658     </member>
659     <member name="M:System.IO.Pipes.PipeStream.EndRead(System.IAsyncResult)">
660       <summary>Ends a pending asynchronous read request.</summary>
661       <param name="asyncResult">The reference to the pending asynchronous request.</param>
662       <returns>The number of bytes that were read. A return value of 0 indicates the end of the stream (the pipe has been closed).</returns>
663       <exception cref="T:System.ArgumentNullException">
664         <paramref name="asyncResult" /> is <see langword="null" />.</exception>
665       <exception cref="T:System.ArgumentException">
666         <paramref name="asyncResult" /> did not originate from a <see cref="M:System.IO.Pipes.PipeStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> method on the current stream.</exception>
667       <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
668     </member>
669     <member name="M:System.IO.Pipes.PipeStream.EndWrite(System.IAsyncResult)">
670       <summary>Ends a pending asynchronous write request.</summary>
671       <param name="asyncResult">The reference to the pending asynchronous request.</param>
672       <exception cref="T:System.ArgumentNullException">
673         <paramref name="asyncResult" /> is <see langword="null" />.</exception>
674       <exception cref="T:System.ArgumentException">
675         <paramref name="asyncResult" /> did not originate from a <see cref="M:System.IO.Pipes.PipeStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> method on the current stream.</exception>
676       <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
677     </member>
678     <member name="M:System.IO.Pipes.PipeStream.Flush">
679       <summary>Clears the buffer for the current stream and causes any buffered data to be written to the underlying device.</summary>
680       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
681       <exception cref="T:System.NotSupportedException">The pipe does not support write operations.</exception>
682       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
683     </member>
684     <member name="P:System.IO.Pipes.PipeStream.InBufferSize">
685       <summary>Gets the size, in bytes, of the inbound buffer for a pipe.</summary>
686       <returns>An integer value that represents the inbound buffer size, in bytes.</returns>
687       <exception cref="T:System.NotSupportedException">The stream is unreadable.</exception>
688       <exception cref="T:System.InvalidOperationException">The pipe is waiting to connect.</exception>
689       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
690     </member>
691     <member name="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)">
692       <summary>Initializes a <see cref="T:System.IO.Pipes.PipeStream" /> object from the specified <see cref="T:Microsoft.Win32.SafeHandles.SafePipeHandle" /> object.</summary>
693       <param name="handle">The <see cref="T:Microsoft.Win32.SafeHandles.SafePipeHandle" /> object of the pipe to initialize.</param>
694       <param name="isExposed">
695         <see langword="true" /> to expose the handle; otherwise, <see langword="false" />.</param>
696       <param name="isAsync">
697         <see langword="true" /> to indicate that the handle was opened asynchronously; otherwise, <see langword="false" />.</param>
698       <exception cref="T:System.IO.IOException">A handle cannot be bound to the pipe.</exception>
699     </member>
700     <member name="P:System.IO.Pipes.PipeStream.IsAsync">
701       <summary>Gets a value indicating whether a <see cref="T:System.IO.Pipes.PipeStream" /> object was opened asynchronously or synchronously.</summary>
702       <returns>
703         <see langword="true" /> if the <see cref="T:System.IO.Pipes.PipeStream" /> object was opened asynchronously; otherwise, <see langword="false" />.</returns>
704     </member>
705     <member name="P:System.IO.Pipes.PipeStream.IsConnected">
706       <summary>Gets or sets a value indicating whether a <see cref="T:System.IO.Pipes.PipeStream" /> object is connected.</summary>
707       <returns>
708         <see langword="true" /> if the <see cref="T:System.IO.Pipes.PipeStream" /> object is connected; otherwise, <see langword="false" />.</returns>
709     </member>
710     <member name="P:System.IO.Pipes.PipeStream.IsHandleExposed">
711       <summary>Gets a value indicating whether a handle to a <see cref="T:System.IO.Pipes.PipeStream" /> object is exposed.</summary>
712       <returns>
713         <see langword="true" /> if a handle to the <see cref="T:System.IO.Pipes.PipeStream" /> object is exposed; otherwise, <see langword="false" />.</returns>
714     </member>
715     <member name="P:System.IO.Pipes.PipeStream.IsMessageComplete">
716       <summary>Gets a value indicating whether there is more data in the message returned from the most recent read operation.</summary>
717       <returns>
718         <see langword="true" /> if there are no more characters to read in the message; otherwise, <see langword="false" />.</returns>
719       <exception cref="T:System.InvalidOperationException">The pipe is not connected.
720 -or-
721 The pipe handle has not been set.
722 -or-
723 The pipe's <see cref="P:System.IO.Pipes.PipeStream.ReadMode" /> property value is not <see cref="F:System.IO.Pipes.PipeTransmissionMode.Message" />.</exception>
724       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
725     </member>
726     <member name="P:System.IO.Pipes.PipeStream.Length">
727       <summary>Gets the length of a stream, in bytes.</summary>
728       <returns>0 in all cases.</returns>
729       <exception cref="T:System.NotSupportedException">Always thrown.</exception>
730     </member>
731     <member name="P:System.IO.Pipes.PipeStream.OutBufferSize">
732       <summary>Gets the size, in bytes, of the outbound buffer for a pipe.</summary>
733       <returns>The outbound buffer size, in bytes.</returns>
734       <exception cref="T:System.NotSupportedException">The stream is unwriteable.</exception>
735       <exception cref="T:System.InvalidOperationException">The pipe is waiting to connect.</exception>
736       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
737     </member>
738     <member name="P:System.IO.Pipes.PipeStream.Position">
739       <summary>Gets or sets the current position of the current stream.</summary>
740       <returns>0 in all cases.</returns>
741       <exception cref="T:System.NotSupportedException">Always thrown.</exception>
742     </member>
743     <member name="M:System.IO.Pipes.PipeStream.Read(System.Byte[],System.Int32,System.Int32)">
744       <summary>Reads a block of bytes from a stream and writes the data to a specified buffer starting at a specified position for a specified length.</summary>
745       <param name="buffer">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source.</param>
746       <param name="offset">The byte offset in the <paramref name="buffer" /> array at which the bytes that are read will be placed.</param>
747       <param name="count">The maximum number of bytes to read.</param>
748       <returns>The total number of bytes that are read into <paramref name="buffer" />. This might be less than the number of bytes requested if that number of bytes is not currently available, or 0 if the end of the stream is reached.</returns>
749       <exception cref="T:System.ArgumentNullException">
750         <paramref name="buffer" /> is <see langword="null" />.</exception>
751       <exception cref="T:System.ArgumentOutOfRangeException">
752         <paramref name="offset" /> is less than 0.
753 -or-
754 <paramref name="count" /> is less than 0.</exception>
755       <exception cref="T:System.ArgumentException">
756         <paramref name="count" /> is greater than the number of bytes available in <paramref name="buffer" />.</exception>
757       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
758       <exception cref="T:System.NotSupportedException">The pipe does not support read operations.</exception>
759       <exception cref="T:System.InvalidOperationException">The pipe is disconnected, waiting to connect, or the handle has not been set.</exception>
760       <exception cref="T:System.IO.IOException">Any I/O error occurred.</exception>
761     </member>
762     <member name="M:System.IO.Pipes.PipeStream.Read(System.Span{System.Byte})">
763       <summary>Reads a sequence of bytes from the current stream, writes them to a byte array, and advances the position within the stream by the number of bytes read.</summary>
764       <param name="buffer">A region of memory. When this method returns, the contents of this region are replaced by the bytes read from the current source.</param>
765       <returns>The total number of bytes read into the <paramref name="buffer" />. This can be less than the number of bytes allocated in <paramref name="buffer" /> if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns>
766       <exception cref="T:System.ArgumentNullException">The number of bytes read was longer than the buffer length.</exception>
767       <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
768       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
769       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
770 -or-
771 The pipe is in a disconnected state.
772 -or-
773 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
774     </member>
775     <member name="M:System.IO.Pipes.PipeStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
776       <summary>Asynchronously reads a sequence of bytes from the current stream to a byte array starting at a specified position for a specified number of bytes, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
777       <param name="buffer">The buffer to write the data into.</param>
778       <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
779       <param name="count">The maximum number of bytes to read.</param>
780       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
781       <returns>A task that represents the asynchronous read operation. The value of its <see cref="P:System.Threading.Tasks.Task`1.Result" /> property contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
782       <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
783       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
784       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
785 -or-
786 The pipe is in a disconnected state.
787 -or-
788 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
789     </member>
790     <member name="M:System.IO.Pipes.PipeStream.ReadAsync(System.Memory{System.Byte},System.Threading.CancellationToken)">
791       <summary>Asynchronously reads a sequence of bytes from the current stream, writes them to a byte memory range, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
792       <param name="buffer">The region of memory to write the data into.</param>
793       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
794       <returns>A task that represents the asynchronous read operation. The value of its <see cref="P:System.Threading.Tasks.ValueTask`1.Result" /> property contains the total number of bytes read into the buffer. The result value can be less than the number of bytes allocated in the buffer if that many bytes are not currently available, or it can be 0 (zero) if the end of the stream has been reached.</returns>
795       <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
796       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
797       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
798 -or-
799 The pipe is in a disconnected state.
800 -or-
801 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
802     </member>
803     <member name="M:System.IO.Pipes.PipeStream.ReadByte">
804       <summary>Reads a byte from a pipe.</summary>
805       <returns>The byte, cast to <see cref="T:System.Int32" />, or -1 indicates the end of the stream (the pipe has been closed).</returns>
806       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
807       <exception cref="T:System.NotSupportedException">The pipe does not support read operations.</exception>
808       <exception cref="T:System.InvalidOperationException">The pipe is disconnected, waiting to connect, or the handle has not been set.</exception>
809       <exception cref="T:System.IO.IOException">Any I/O error occurred.</exception>
810     </member>
811     <member name="P:System.IO.Pipes.PipeStream.ReadMode">
812       <summary>Gets or sets the reading mode for a <see cref="T:System.IO.Pipes.PipeStream" /> object.</summary>
813       <returns>One of the <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> values that indicates how the <see cref="T:System.IO.Pipes.PipeStream" /> object reads from the pipe.</returns>
814       <exception cref="T:System.ArgumentOutOfRangeException">The supplied value is not a valid <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> value.</exception>
815       <exception cref="T:System.NotSupportedException">The supplied value is not a supported <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> value for this pipe stream.</exception>
816       <exception cref="T:System.InvalidOperationException">The handle has not been set.
817 -or-
818 The pipe is waiting to connect with a named client.</exception>
819       <exception cref="T:System.IO.IOException">The pipe is broken or an I/O error occurred with a named client.</exception>
820     </member>
821     <member name="P:System.IO.Pipes.PipeStream.SafePipeHandle">
822       <summary>Gets the safe handle for the local end of the pipe that the current <see cref="T:System.IO.Pipes.PipeStream" /> object encapsulates.</summary>
823       <returns>A <see cref="T:Microsoft.Win32.SafeHandles.SafePipeHandle" /> object for the pipe that is encapsulated by the current <see cref="T:System.IO.Pipes.PipeStream" /> object.</returns>
824       <exception cref="T:System.InvalidOperationException">The pipe handle has not been set.</exception>
825       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
826     </member>
827     <member name="M:System.IO.Pipes.PipeStream.Seek(System.Int64,System.IO.SeekOrigin)">
828       <summary>Sets the current position of the current stream to the specified value.</summary>
829       <param name="offset">The point, relative to <paramref name="origin" />, to begin seeking from.</param>
830       <param name="origin">Specifies the beginning, the end, or the current position as a reference point for <paramref name="offset" />, using a value of type <see cref="T:System.IO.SeekOrigin" />.</param>
831       <returns>The new position in the stream.</returns>
832     </member>
833     <member name="M:System.IO.Pipes.PipeStream.SetLength(System.Int64)">
834       <summary>Sets the length of the current stream to the specified value.</summary>
835       <param name="value">The new length of the stream.</param>
836     </member>
837     <member name="P:System.IO.Pipes.PipeStream.TransmissionMode">
838       <summary>Gets the pipe transmission mode supported by the current pipe.</summary>
839       <returns>One of the <see cref="T:System.IO.Pipes.PipeTransmissionMode" /> values that indicates the transmission mode supported by the current pipe.</returns>
840       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
841       <exception cref="T:System.InvalidOperationException">The handle has not been set.
842 -or-
843 The pipe is waiting to connect in an anonymous client/server operation or with a named client.</exception>
844       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
845     </member>
846     <member name="M:System.IO.Pipes.PipeStream.WaitForPipeDrain">
847       <summary>Waits for the other end of the pipe to read all sent bytes.</summary>
848       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
849       <exception cref="T:System.NotSupportedException">The pipe does not support write operations.</exception>
850       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
851     </member>
852     <member name="M:System.IO.Pipes.PipeStream.Write(System.Byte[],System.Int32,System.Int32)">
853       <summary>Writes a block of bytes to the current stream using data from a buffer.</summary>
854       <param name="buffer">The buffer that contains data to write to the pipe.</param>
855       <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
856       <param name="count">The maximum number of bytes to write to the current stream.</param>
857       <exception cref="T:System.ArgumentNullException">
858         <paramref name="buffer" /> is <see langword="null" />.</exception>
859       <exception cref="T:System.ArgumentOutOfRangeException">
860         <paramref name="offset" /> is less than 0.
861 -or-
862 <paramref name="count" /> is less than 0.</exception>
863       <exception cref="T:System.ArgumentException">
864         <paramref name="count" /> is greater than the number of bytes available in <paramref name="buffer" />.</exception>
865       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
866       <exception cref="T:System.NotSupportedException">The pipe does not support write operations.</exception>
867       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
868     </member>
869     <member name="M:System.IO.Pipes.PipeStream.Write(System.ReadOnlySpan{System.Byte})">
870       <summary>Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary>
871       <param name="buffer">A region of memory. This method copies the contents of this region to the current stream.</param>
872       <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
873       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
874       <exception cref="">The pipe is broken.</exception>
875       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
876 -or-
877 The pipe is in a disconnected state.
878 -or-
879 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
880     </member>
881     <member name="M:System.IO.Pipes.PipeStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)">
882       <summary>Asynchronously writes a specified number of bytes from a byte array starting at a specified position, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
883       <param name="buffer">The buffer to write data from.</param>
884       <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
885       <param name="count">The maximum number of bytes to write.</param>
886       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
887       <returns>A task that represents the asynchronous write operation.</returns>
888       <exception cref="T:System.ArgumentNullException">
889         <paramref name="buffer" /> is <see langword="null" />.</exception>
890       <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="offset" /> is negative.
891 -or-
892 The <paramref name="count" /> is negative.</exception>
893       <exception cref="T:System.ArgumentException">
894         <paramref name="buffer" />.Length - <paramref name="offset" /> is less than <paramref name="count" />.</exception>
895       <exception cref="T:System.NotSupportedException">Stream does not support writing.</exception>
896       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
897       <exception cref="">The pipe is broken.</exception>
898       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
899 -or-
900 The pipe is in a disconnected state.
901 -or-
902 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
903     </member>
904     <member name="M:System.IO.Pipes.PipeStream.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Threading.CancellationToken)">
905       <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
906       <param name="buffer">The region of memory to write data from.</param>
907       <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
908       <returns>A task that represents the asynchronous write operation.</returns>
909       <exception cref="T:System.NotSupportedException">Stream does not support writing.</exception>
910       <exception cref="T:System.ObjectDisposedException">Cannot access a closed pipe.</exception>
911       <exception cref="">The pipe is broken.</exception>
912       <exception cref="T:System.InvalidOperationException">The pipe hasn't been connected yet.
913 -or-
914 The pipe is in a disconnected state.
915 -or-
916 The pipe handle has not been set.  (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="M:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?</exception>
917     </member>
918     <member name="M:System.IO.Pipes.PipeStream.WriteByte(System.Byte)">
919       <summary>Writes a byte to the current stream.</summary>
920       <param name="value">The byte to write to the stream.</param>
921       <exception cref="T:System.ObjectDisposedException">The pipe is closed.</exception>
922       <exception cref="T:System.NotSupportedException">The pipe does not support write operations.</exception>
923       <exception cref="T:System.InvalidOperationException">The pipe is disconnected, waiting to connect, or the handle has not been set.</exception>
924       <exception cref="T:System.IO.IOException">The pipe is broken or another I/O error occurred.</exception>
925     </member>
926     <member name="T:System.IO.Pipes.PipeStreamImpersonationWorker">
927       <summary>Represents the method to call as the client.</summary>
928     </member>
929     <member name="T:System.IO.Pipes.PipeTransmissionMode">
930       <summary>Specifies the transmission mode of the pipe.</summary>
931     </member>
932     <member name="F:System.IO.Pipes.PipeTransmissionMode.Byte">
933       <summary>Indicates that data in the pipe is transmitted and read as a stream of bytes.</summary>
934     </member>
935     <member name="F:System.IO.Pipes.PipeTransmissionMode.Message">
936       <summary>Indicates that data in the pipe is transmitted and read as a stream of messages.</summary>
937     </member>
938   </members>
939 </doc>