DevicePortalConnectionRequestReceivedEventArgs DevicePortalConnectionRequestReceivedEventArgs DevicePortalConnectionRequestReceivedEventArgs DevicePortalConnectionRequestReceivedEventArgs DevicePortalConnectionRequestReceivedEventArgs Class

Definition

Describes a DevicePortalConnection.RequestReceived event that was raised.

public : sealed class DevicePortalConnectionRequestReceivedEventArgs
struct winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs
public sealed class DevicePortalConnectionRequestReceivedEventArgs
Public NotInheritable Class DevicePortalConnectionRequestReceivedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

Version history

Windows version SDK version Value added
1803 17134 GetDeferral
1803 17134 IsWebSocketUpgradeRequest
1803 17134 WebSocketProtocolsRequested

Properties

IsWebSocketUpgradeRequest IsWebSocketUpgradeRequest IsWebSocketUpgradeRequest IsWebSocketUpgradeRequest IsWebSocketUpgradeRequest

Gets a value describing whether the request is for WebSocket communication.

RequestMessage RequestMessage RequestMessage RequestMessage RequestMessage

Gets the HTTP request message for this request.

ResponseMessage ResponseMessage ResponseMessage ResponseMessage ResponseMessage

Gets the HTTP response message for this request.

WebSocketProtocolsRequested WebSocketProtocolsRequested WebSocketProtocolsRequested WebSocketProtocolsRequested WebSocketProtocolsRequested

Gets a list of the sub-protocols that the WebSocket is requested to follow.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Retrieves a deferral object to allow the background task to continue executing while a Device Portal connection is open.