SocketActivityContext SocketActivityContext SocketActivityContext SocketActivityContext SocketActivityContext Class

Definition

The context associated with a socket while transferring ownership of the socket between an app and the socket brokering service.

public : sealed class SocketActivityContext
struct winrt::Windows::Networking::Sockets::SocketActivityContext
public sealed class SocketActivityContext
Public NotInheritable Class SocketActivityContext
var socketActivityContext = new socketActivityContext(data);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The SocketActivityContext class used by an app to pass serialized data to associate the app context to a transferred socket.

Constructors

SocketActivityContext(IBuffer) SocketActivityContext(IBuffer) SocketActivityContext(IBuffer) SocketActivityContext(IBuffer) SocketActivityContext(IBuffer)

Constructs a new SocketActivityContext object with given context data.

Properties

Data Data Data Data Data

Get the serialized data to associate the app context to a transferred socket.