Share via


DevicePortalConnectionRequestReceivedEventArgs Class

Definition

Describes a DevicePortalConnection.RequestReceived event that was raised.

public ref class DevicePortalConnectionRequestReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DevicePortalConnectionRequestReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DevicePortalConnectionRequestReceivedEventArgs
Public NotInheritable Class DevicePortalConnectionRequestReceivedEventArgs
Inheritance
Object Platform::Object IInspectable DevicePortalConnectionRequestReceivedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Version history

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

Properties

IsWebSocketUpgradeRequest

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

RequestMessage

Gets the HTTP request message for this request.

ResponseMessage

Gets the HTTP response message for this request.

WebSocketProtocolsRequested

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

Methods

GetDeferral()

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

Applies to