Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Union case

InvalidOperation

case InvalidOperation

Containing type: SocketError
Module: System.Networking.Sockets
Assembly: System.Networking.dll

Inheritance: Object → ValueType → InvalidOperation

The operation requires a different socket role: Accept requires a listener; Send and Receive require a connected socket.

Constructors

1 item
InvalidOperation() Creates the InvalidOperation case.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string No summary available. Overrides Object.ToString