Compartir a través de


SocketShutdown Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Enumeration SocketShutdown
public enum SocketShutdown

Members

Member name Description
Supported by Silverlight for Windows Phone Receive Disables a Socket for receiving.
Supported by Silverlight for Windows Phone Send Disables a Socket for sending.
Supported by Silverlight for Windows Phone Both Disables a Socket for both sending and receiving.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.