Skip to content

Commit 846c8d3

Browse files
kendaleivgewarren
andcommitted
Update xml/System.IO.Pipes/AnonymousPipeClientStream.xml
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 7f5bfbc commit 846c8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.IO.Pipes/AnonymousPipeClientStream.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
6464
The client side of an anonymous pipe must be created from a pipe handle provided by the server side by calling the <xref:System.IO.Pipes.AnonymousPipeServerStream.GetClientHandleAsString%2A> method. The string is then passed as a parameter when creating the client process. From the client process, it is passed to the <xref:System.IO.Pipes.AnonymousPipeClientStream> constructor as the `pipeHandleAsString` parameter.
6565
66-
On Windows, asynchronous (overlapped) read and write operations are not supported by anonymous pipes (see https://learn.microsoft.com/windows/win32/ipc/anonymous-pipe-operations). The <xref:System.IO.Pipes.AnonymousPipeClientStream> class will still schedule work on the thread pool on Windows platforms so asynchronous <xref:System.IO.Stream> operations work, but cancellation of those operations is not supported.
66+
On Windows, asynchronous (overlapped) read and write operations aren't supported by anonymous pipes (see [Anonymous pipe operations](https://learn.microsoft.com/windows/win32/ipc/anonymous-pipe-operations)). The <xref:System.IO.Pipes.AnonymousPipeClientStream> class will still schedule work on the thread pool on Windows platforms so asynchronous <xref:System.IO.Stream> operations work, but cancellation of those operations isn't supported.
6767
## Examples
6868
6969
The following example sends a string from a parent process to a child process by using anonymous pipes. This example creates an <xref:System.IO.Pipes.AnonymousPipeServerStream> object in a parent process with a <xref:System.IO.Pipes.PipeDirection> value of <xref:System.IO.Pipes.PipeDirection.Out>. It also creates an <xref:System.IO.Pipes.AnonymousPipeClientStream> object in a child process with a <xref:System.IO.Pipes.PipeDirection> value of <xref:System.IO.Pipes.PipeDirection.In>. The parent process then sends a user-supplied string to the child process. The string is displayed to the console.

0 commit comments

Comments
 (0)