0abdbe5a7d
Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
28 lines
1.5 KiB
C#
28 lines
1.5 KiB
C#
using System.Runtime.InteropServices;
|
|
using System.Security.Permissions;
|
|
|
|
|
|
namespace System.IO.Pipes
|
|
{
|
|
public sealed partial class NamedPipeServerStream
|
|
{
|
|
public NamedPipeServerStream (string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, PipeSecurity pipeSecurity)
|
|
: this (pipeName, direction, maxNumberOfServerInstances, transmissionMode, options, inBufferSize, outBufferSize, pipeSecurity, HandleInheritability.None, 0)
|
|
{
|
|
}
|
|
|
|
public NamedPipeServerStream (string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, PipeSecurity pipeSecurity, HandleInheritability inheritability)
|
|
: this (pipeName, direction, maxNumberOfServerInstances, transmissionMode, options, inBufferSize, outBufferSize, pipeSecurity, inheritability, 0)
|
|
{
|
|
}
|
|
|
|
public NamedPipeServerStream (string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, PipeSecurity pipeSecurity, HandleInheritability inheritability, PipeAccessRights additionalAccessRights)
|
|
: this (pipeName, direction, maxNumberOfServerInstances, transmissionMode, options, inBufferSize, outBufferSize, inheritability)
|
|
{
|
|
if (additionalAccessRights != 0 || pipeSecurity != null) {
|
|
throw new PlatformNotSupportedException ();
|
|
}
|
|
}
|
|
}
|
|
}
|