|
45 | 45 | <Parameter Name="additionalAccessRights" Type="System.IO.Pipes.PipeAccessRights" />
|
46 | 46 | </Parameters>
|
47 | 47 | <Docs>
|
48 |
| - <param name="pipeName">To be added.</param> |
49 |
| - <param name="direction">To be added.</param> |
50 |
| - <param name="maxNumberOfServerInstances">To be added.</param> |
51 |
| - <param name="transmissionMode">To be added.</param> |
52 |
| - <param name="options">To be added.</param> |
53 |
| - <param name="inBufferSize">To be added.</param> |
54 |
| - <param name="outBufferSize">To be added.</param> |
55 |
| - <param name="pipeSecurity">To be added.</param> |
56 |
| - <param name="inheritability">To be added.</param> |
57 |
| - <param name="additionalAccessRights">To be added.</param> |
58 |
| - <summary>To be added.</summary> |
59 |
| - <returns>To be added.</returns> |
60 |
| - <remarks>To be added.</remarks> |
| 48 | + <param name="pipeName">The name of the pipe.</param> |
| 49 | + <param name="direction">One of the enumeration values that determines the direction of the pipe.</param> |
| 50 | + <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> |
| 51 | + <param name="transmissionMode">One of the enumeration values that determines the transmission mode of the pipe.</param> |
| 52 | + <param name="options">One of the enumeration values that determines how to open or create the pipe.</param> |
| 53 | + <param name="inBufferSize">The input buffer size.</param> |
| 54 | + <param name="outBufferSize">The output buffer size.</param> |
| 55 | + <param name="pipeSecurity">An object that determines the access control and audit security for the pipe.</param> |
| 56 | + <param name="inheritability">One of the enumeration values that determines whether the underlying handle can be inherited by child processes.</param> |
| 57 | + <param name="additionalAccessRights">One of the enumeration values that specifies the access rights of the pipe.</param> |
| 58 | + <summary>Creates 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, recommended in and out buffer sizes, pipe security, inheritability mode, and pipe access rights.</summary> |
| 59 | + <returns>A new named pipe server stream instance.</returns> |
| 60 | + <remarks> |
| 61 | + <format type="text/markdown"><![CDATA[ |
| 62 | +
|
| 63 | +## Remarks |
| 64 | +
|
| 65 | +If `options` contains <xref:System.IO.Pipes.PipeOptions.CurrentUserOnly>, the passed `pipeSecurity` is ignored and the returned <xref:System.IO.Pipes.NamedPipeServerStream> object is created using a custom <xref:System.IO.Pipes.PipeSecurity> instance assigned to the current Windows user as its only owner with full control of the pipe. |
| 66 | +
|
| 67 | + ]]></format> |
| 68 | + </remarks> |
| 69 | + <exception cref="T:System.ArgumentNullException"> |
| 70 | + <paramref name="pipeName" /> is <see langword="null" />.</exception> |
| 71 | + <exception cref="T:System.ArgumentException"> |
| 72 | + <paramref name="pipeName" /> is empty.</exception> |
| 73 | + <exception cref="T:System.IO.IOException"> |
| 74 | + <paramref name="options" /> is <see cref="F:System.IO.Pipes.PipeOptions.None" />.</exception> |
| 75 | + <exception cref="T:System.ArgumentOutOfRangeException"> |
| 76 | + <paramref name="options" /> contains an invalid flag. |
| 77 | + |
| 78 | +-or- |
| 79 | + |
| 80 | +<paramref name="inBufferSize" /> or <paramref name="outBufferSize" /> is less than zero. |
| 81 | + |
| 82 | +-or- |
| 83 | + |
| 84 | +<paramref name="maxNumberOfServerInstances" /> is not a valid number: it should be greater than or equal to 1 and less than or equal to 254, or should be set to the value of <see cref="F:System.IO.Pipes.NamedPipeServerStream.MaxAllowedServerInstances" />. |
| 85 | + |
| 86 | +-or- |
| 87 | + |
| 88 | +<paramref name="inheritability" /> contains an invalid enum value. |
| 89 | + |
| 90 | +-or- |
| 91 | + |
| 92 | +<paramref name="pipeName" /> is 'anonymous', which is reserved.</exception> |
61 | 93 | </Docs>
|
62 | 94 | </Member>
|
63 | 95 | </Members>
|
|
0 commit comments