SocketActivityTriggerReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The reason why a SocketActivityTrigger occurred.
public enum class SocketActivityTriggerReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SocketActivityTriggerReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SocketActivityTriggerReason
var value = Windows.Networking.Sockets.SocketActivityTriggerReason.none
Public Enum SocketActivityTriggerReason
- Inheritance
-
SocketActivityTriggerReason
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | No reason why a occurred is available. |
SocketActivity | 1 | A packet was received by the socket brokering service for a StreamSocket or DatagramSocket. |
ConnectionAccepted | 2 | A connection was accepted by the socket brokering service for a StreamSocketListener. |
KeepAliveTimerExpired | 3 | The keep-alive timer expired on a StreamSocket. |
SocketClosed | 4 | A StreamSocket was closed. |