File: artifacts\obj\System.IO.Pipes\Debug\net10.0\System.IO.Pipes.notsupported.cs
Project: src\src\libraries\System.IO.Pipes\src\System.IO.Pipes.csproj (System.IO.Pipes)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
 
namespace Microsoft.Win32.SafeHandles
{
    public sealed partial class SafePipeHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
    {
        public SafePipeHandle() : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public SafePipeHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override bool IsInvalid { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        protected override bool ReleaseHandle() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
    }
}
namespace System.IO.Pipes
{
    public sealed partial class AnonymousPipeClientStream : System.IO.Pipes.PipeStream
    {
        public AnonymousPipeClientStream(System.IO.Pipes.PipeDirection direction, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeClientStream(System.IO.Pipes.PipeDirection direction, string pipeHandleAsString) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeClientStream(string pipeHandleAsString) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.IO.Pipes.PipeTransmissionMode ReadMode { set { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override System.IO.Pipes.PipeTransmissionMode TransmissionMode { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        ~AnonymousPipeClientStream() { }
    }
    public sealed partial class AnonymousPipeServerStream : System.IO.Pipes.PipeStream
    {
        public AnonymousPipeServerStream() : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeServerStream(System.IO.Pipes.PipeDirection direction) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeServerStream(System.IO.Pipes.PipeDirection direction, Microsoft.Win32.SafeHandles.SafePipeHandle serverSafePipeHandle, Microsoft.Win32.SafeHandles.SafePipeHandle clientSafePipeHandle) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeServerStream(System.IO.Pipes.PipeDirection direction, System.IO.HandleInheritability inheritability) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public AnonymousPipeServerStream(System.IO.Pipes.PipeDirection direction, System.IO.HandleInheritability inheritability, int bufferSize) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public Microsoft.Win32.SafeHandles.SafePipeHandle ClientSafePipeHandle { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override System.IO.Pipes.PipeTransmissionMode ReadMode { set { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override System.IO.Pipes.PipeTransmissionMode TransmissionMode { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        protected override void Dispose(bool disposing) { }
        public void DisposeLocalCopyOfClientHandle() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        ~AnonymousPipeServerStream() { }
        public string GetClientHandleAsString() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
    }
    public sealed partial class NamedPipeClientStream : System.IO.Pipes.PipeStream
    {
        public NamedPipeClientStream(System.IO.Pipes.PipeDirection direction, bool isAsync, bool isConnected, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string pipeName) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string serverName, string pipeName) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        public NamedPipeClientStream(string serverName, string pipeName, System.IO.Pipes.PipeAccessRights desiredAccessRights, PipeOptions options, System.Security.Principal.TokenImpersonationLevel impersonationLevel, HandleInheritability inheritability) : base(default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string serverName, string pipeName, System.IO.Pipes.PipeDirection direction) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string serverName, string pipeName, System.IO.Pipes.PipeDirection direction, System.IO.Pipes.PipeOptions options) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string serverName, string pipeName, System.IO.Pipes.PipeDirection direction, System.IO.Pipes.PipeOptions options, System.Security.Principal.TokenImpersonationLevel impersonationLevel) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeClientStream(string serverName, string pipeName, System.IO.Pipes.PipeDirection direction, System.IO.Pipes.PipeOptions options, System.Security.Principal.TokenImpersonationLevel impersonationLevel, System.IO.HandleInheritability inheritability) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        public int NumberOfServerInstances { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        protected internal override void CheckPipePropertyOperations() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void Connect() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void Connect(int timeout) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void Connect(System.TimeSpan timeout) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task ConnectAsync() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task ConnectAsync(int timeout) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task ConnectAsync(int timeout, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task ConnectAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task ConnectAsync(System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        ~NamedPipeClientStream() { }
    }
    public sealed partial class NamedPipeServerStream : System.IO.Pipes.PipeStream
    {
        public const int MaxAllowedServerInstances = -1;
        public NamedPipeServerStream(System.IO.Pipes.PipeDirection direction, bool isAsync, bool isConnected, Microsoft.Win32.SafeHandles.SafePipeHandle safePipeHandle) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName, System.IO.Pipes.PipeDirection direction) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode, System.IO.Pipes.PipeOptions options) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public NamedPipeServerStream(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode, System.IO.Pipes.PipeOptions options, int inBufferSize, int outBufferSize) : base (default(System.IO.Pipes.PipeDirection), default(int)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.IAsyncResult BeginWaitForConnection(System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void Disconnect() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void EndWaitForConnection(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        ~NamedPipeServerStream() { }
        public string GetImpersonationUserName() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void RunAsClient(System.IO.Pipes.PipeStreamImpersonationWorker impersonationWorker) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public void WaitForConnection() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task WaitForConnectionAsync() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public System.Threading.Tasks.Task WaitForConnectionAsync(System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
    }
    [System.FlagsAttribute]
    public enum PipeAccessRights
    {
        ReadData = 1,
        WriteData = 2,
        CreateNewInstance = 4,
        ReadExtendedAttributes = 8,
        WriteExtendedAttributes = 16,
        ReadAttributes = 128,
        WriteAttributes = 256,
        Write = 274,
        Delete = 65536,
        ReadPermissions = 131072,
        Read = 131209,
        ReadWrite = 131483,
        ChangePermissions = 262144,
        TakeOwnership = 524288,
        Synchronize = 1048576,
        FullControl = 2032031,
        AccessSystemSecurity = 16777216,
    }
    public enum PipeDirection
    {
        In = 1,
        Out = 2,
        InOut = 3,
    }
    [System.FlagsAttribute]
    public enum PipeOptions
    {
        WriteThrough = -2147483648,
        None = 0,
        CurrentUserOnly = 536870912,
        Asynchronous = 1073741824,
        FirstPipeInstance = 524288
    }
    public abstract partial class PipeStream : System.IO.Stream
    {
        protected PipeStream(System.IO.Pipes.PipeDirection direction, int bufferSize) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected PipeStream(System.IO.Pipes.PipeDirection direction, System.IO.Pipes.PipeTransmissionMode transmissionMode, int outBufferSize) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override bool CanRead { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override bool CanSeek { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override bool CanWrite { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public virtual int InBufferSize { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public bool IsAsync { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public bool IsConnected { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } protected set { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        protected bool IsHandleExposed { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public bool IsMessageComplete { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override long Length { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public virtual int OutBufferSize { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override long Position { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } set { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public virtual System.IO.Pipes.PipeTransmissionMode ReadMode { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } set { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public Microsoft.Win32.SafeHandles.SafePipeHandle SafePipeHandle { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public virtual System.IO.Pipes.PipeTransmissionMode TransmissionMode { get { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  } }
        public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected internal virtual void CheckPipePropertyOperations() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected internal void CheckReadOperations() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected internal void CheckWriteOperations() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected override void Dispose(bool disposing) { }
        public override int EndRead(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void EndWrite(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void Flush() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        protected void InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle? handle, bool isExposed, bool isAsync) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override int Read(byte[] buffer, int offset, int count) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override int Read(System.Span<byte> buffer) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.Threading.Tasks.ValueTask<int> ReadAsync(System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override int ReadByte() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override long Seek(long offset, System.IO.SeekOrigin origin) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void SetLength(long value) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        public void WaitForPipeDrain() { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void Write(byte[] buffer, int offset, int count) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void Write(System.ReadOnlySpan<byte> buffer) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
        public override void WriteByte(byte value) { throw new System.PlatformNotSupportedException(System.SR.Pipes_PlatformNotSupported);  }
    }
    public delegate void PipeStreamImpersonationWorker();
    public enum PipeTransmissionMode
    {
        Byte = 0,
        [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
        Message = 1,
    }
}