88 references to SR
System.Net.WebSockets (88)
artifacts\obj\System.Net.WebSockets\Debug\net10.0\System.Net.WebSockets.notsupported.cs (88)
12public ValueWebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 13public int Count { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 14public bool EndOfMessage { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 15public System.Net.WebSockets.WebSocketMessageType MessageType { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 19protected WebSocket() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 22public static System.TimeSpan DefaultKeepAliveInterval { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 28public static System.ArraySegment<byte> CreateClientBuffer(int receiveBufferSize, int sendBufferSize) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 30public static System.Net.WebSockets.WebSocket CreateClientWebSocket(System.IO.Stream innerStream, string? subProtocol, int receiveBufferSize, int sendBufferSize, System.TimeSpan keepAliveInterval, bool useZeroMaskingKey, System.ArraySegment<byte> internalBuffer) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 31public static System.Net.WebSockets.WebSocket CreateFromStream(System.IO.Stream stream, bool isServer, string? subProtocol, System.TimeSpan keepAliveInterval) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 32public static System.Net.WebSockets.WebSocket CreateFromStream(System.IO.Stream stream, System.Net.WebSockets.WebSocketCreationOptions options) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 33public static System.ArraySegment<byte> CreateServerBuffer(int receiveBufferSize) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 37public static bool IsApplicationTargeting45() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 38protected static bool IsStateTerminal(System.Net.WebSockets.WebSocketState state) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 40public virtual System.Threading.Tasks.ValueTask<System.Net.WebSockets.ValueWebSocketReceiveResult> ReceiveAsync(System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 43public static void RegisterPrefixes() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 45public virtual System.Threading.Tasks.ValueTask SendAsync(System.ReadOnlyMemory<byte> buffer, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 46public virtual System.Threading.Tasks.ValueTask SendAsync(System.ReadOnlyMemory<byte> buffer, System.Net.WebSockets.WebSocketMessageType messageType, System.Net.WebSockets.WebSocketMessageFlags messageFlags, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 47protected static void ThrowOnInvalidState(System.Net.WebSockets.WebSocketState state, params System.Net.WebSockets.WebSocketState[] validStates) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 51private protected WebSocketStream() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 52public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 53public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 54public override bool CanRead { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 55public override bool CanSeek { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 56public override bool CanWrite { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 57public static System.Net.WebSockets.WebSocketStream Create(WebSocket webSocket, WebSocketMessageType writeMessageType, bool ownsWebSocket = false) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 58public static System.Net.WebSockets.WebSocketStream Create(WebSocket webSocket, WebSocketMessageType writeMessageType, TimeSpan closeTimeout) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 59public static System.Net.WebSockets.WebSocketStream CreateWritableMessageStream(WebSocket webSocket, WebSocketMessageType writeMessageType) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 60public static System.Net.WebSockets.WebSocketStream CreateReadableMessageStream(WebSocket webSocket) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 62public override System.Threading.Tasks.ValueTask DisposeAsync() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 63public override int EndRead(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 64public override void EndWrite(IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 65public override void Flush() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 66public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 67public override long Length { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 68public override long Position { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 69public override int Read(byte[] buffer, int offset, int count) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 70public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 71public override System.Threading.Tasks.ValueTask<int> ReadAsync(System.Memory<byte> buffer, System.Threading.CancellationToken cancellationToken = default) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 72public override long Seek(long offset, System.IO.SeekOrigin origin) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 73public override void SetLength(long value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 74public System.Net.WebSockets.WebSocket WebSocket { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 75public override void Write(byte[] buffer, int offset, int count) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 76public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 77public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 94protected WebSocketContext() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 123public WebSocketException() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 124public WebSocketException(int nativeError) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 125public WebSocketException(int nativeError, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 126public WebSocketException(int nativeError, string? message) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 127public WebSocketException(System.Net.WebSockets.WebSocketError error) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 128public WebSocketException(System.Net.WebSockets.WebSocketError error, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 129public WebSocketException(System.Net.WebSockets.WebSocketError error, int nativeError) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 130public WebSocketException(System.Net.WebSockets.WebSocketError error, int nativeError, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 131public WebSocketException(System.Net.WebSockets.WebSocketError error, int nativeError, string? message) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 132public WebSocketException(System.Net.WebSockets.WebSocketError error, int nativeError, string? message, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 133public WebSocketException(System.Net.WebSockets.WebSocketError error, string? message) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 134public WebSocketException(System.Net.WebSockets.WebSocketError error, string? message, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 135public WebSocketException(string? message) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 136public WebSocketException(string? message, System.Exception? innerException) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 137public override int ErrorCode { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 138public System.Net.WebSockets.WebSocketError WebSocketErrorCode { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 141public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 151public WebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 152public WebSocketReceiveResult(int count, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Net.WebSockets.WebSocketCloseStatus? closeStatus, string? closeStatusDescription) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } 153public System.Net.WebSockets.WebSocketCloseStatus? CloseStatus { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 154public string? CloseStatusDescription { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 155public int Count { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 156public bool EndOfMessage { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 157public System.Net.WebSockets.WebSocketMessageType MessageType { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 171public bool IsServer { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 172public string? SubProtocol { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 173public System.TimeSpan KeepAliveInterval { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 174public System.TimeSpan KeepAliveTimeout { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 175public System.Net.WebSockets.WebSocketDeflateOptions? DangerousDeflateOptions { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 179public int ClientMaxWindowBits { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 180public bool ClientContextTakeover { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 181public int ServerMaxWindowBits { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } } 182public bool ServerContextTakeover { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); } }