共用方式為


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()

擷取延遲物件,以允許背景工作在裝置入口網站連線開啟時繼續執行。

適用於