DevicePortalConnectionRequestReceivedEventArgs 类

定义

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
继承
Object Platform::Object IInspectable DevicePortalConnectionRequestReceivedEventArgs
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1803 17134 GetDeferral
1803 17134 IsWebSocketUpgradeRequest
1803 17134 WebSocketProtocolsRequested

属性

IsWebSocketUpgradeRequest

获取一个值,该值描述请求是否用于 WebSocket 通信。

RequestMessage

获取此请求的 HTTP 请求消息。

ResponseMessage

获取此请求的 HTTP 响应消息。

WebSocketProtocolsRequested

获取请求 WebSocket 遵循的子协议的列表。

方法

GetDeferral()

检索延迟对象,以允许后台任务在设备门户连接打开时继续执行。

适用于