SocketShutdown Enumeration

SocketShutdown Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines constants that are used by the Socket.Shutdown method.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)

public enum SocketShutdown

Member nameDescription
ReceiveDisables a Socket for receiving.
SendDisables a Socket for sending.
BothDisables a Socket for both sending and receiving.

The SocketShutdown enumeration defines the values that can be passed to the Socket.Shutdown method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft