You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Initializes a new instance of the <see cref="NamedPipeClientStream"/> class with the specified pipe and server names,
22
+
/// the desired <see cref="PipeAccessRights"/>, and the specified impersonation level and inheritability.
23
+
/// </summary>
24
+
/// <param name="serverName">The name of the remote computer to connect to, or "." to specify the local computer.</param>
25
+
/// <param name="pipeName">The name of the pipe.</param>
26
+
/// <param name="desiredAccessRights">One of the enumeration values that specifies the desired access rights of the pipe.</param>
27
+
/// <param name="options">One of the enumeration values that determines how to open or create the pipe.</param>
28
+
/// <param name="impersonationLevel">One of the enumeration values that determines the security impersonation level.</param>
29
+
/// <param name="inheritability">One of the enumeration values that determines whether the underlying handle will be inheritable by child processes.</param>
30
+
/// <exception cref="ArgumentNullException"><paramref name="pipeName"/> or <paramref name="serverName"/> is <c>null</c>.</exception>
31
+
/// <exception cref="ArgumentException"><paramref name="pipeName"/> or <paramref name="serverName"/> is a zero-length string.</exception>
32
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="pipeName"/> is set to "anonymous".</exception>
33
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="desiredAccessRights"/> is not a valid <see cref="PipeAccessRights"/> value.</exception>
34
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="options"/> is not a valid <see cref="PipeOptions"/> value.</exception>
35
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="impersonationLevel"/> is not a valid <see cref="TokenImpersonationLevel"/> value.</exception>
36
+
/// <exception cref="ArgumentOutOfRangeException"><paramref name="inheritability"/> is not a valid <see cref="HandleInheritability"/> value.</exception>
37
+
/// <remarks>
38
+
/// The pipe direction for this constructor is determined by the <paramref name="desiredAccessRights"/> parameter.
39
+
/// If the <paramref name="desiredAccessRights"/> parameter specifies <see cref="PipeAccessRights.ReadData"/>,
40
+
/// the pipe direction is <see cref="PipeDirection.In"/>. If the <paramref name="desiredAccessRights"/> parameter
41
+
/// specifies <see cref="PipeAccessRights.WriteData"/>, the pipe direction is <see cref="PipeDirection.Out"/>.
42
+
/// If the value of <paramref name="desiredAccessRights"/> specifies both <see cref="PipeAccessRights.ReadData"/>
43
+
/// and <see cref="PipeAccessRights.WriteData"/>, the pipe direction is <see cref="PipeDirection.InOut"/>.
0 commit comments