SocketActivityTriggerDetails
SocketActivityTriggerDetails
SocketActivityTriggerDetails
SocketActivityTriggerDetails
Class
Definition
A object instantiated by the background broker infrastructure and used by an app to retrieve details when a SocketActivityTrigger occurs.
public : sealed class SocketActivityTriggerDetails : ISocketActivityTriggerDetailspublic sealed class SocketActivityTriggerDetails : ISocketActivityTriggerDetailsPublic NotInheritable Class SocketActivityTriggerDetails Implements ISocketActivityTriggerDetails// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The SocketActivityTriggerDetails object is used by an app to retrieve the SocketActivityInformation object for the socket that caused a SocketActivityTrigger to occur, and to get the reason that the trigger occurred.
A SocketActivityTriggerDetails instance is created when the background task for a socket signals a SocketActivityTrigger. (See the SocketActivityTrigger class page for details on how to create a background task and transfer ownership of a socket to a socket broker for background listening.)
Properties
Reason Reason Reason Reason
Get the reason the SocketActivityTrigger occurred.
public : SocketActivityTriggerReason Reason { get; }public SocketActivityTriggerReason Reason { get; }Public ReadOnly Property Reason As SocketActivityTriggerReason// You can use this property in JavaScript.
- Value
- SocketActivityTriggerReason SocketActivityTriggerReason SocketActivityTriggerReason SocketActivityTriggerReason
The reason the SocketActivityTrigger occurred.
- See Also
SocketInformation SocketInformation SocketInformation SocketInformation
Get the SocketActivityInformation object for socket that caused the SocketActivityTrigger to occur.
public : SocketActivityInformation SocketInformation { get; }public SocketActivityInformation SocketInformation { get; }Public ReadOnly Property SocketInformation As SocketActivityInformation// You can use this property in JavaScript.
- Value
- SocketActivityInformation SocketActivityInformation SocketActivityInformation SocketActivityInformation
Socket activity information for socket that caused the SocketActivityTrigger to occur.
- See Also