共用方式為


GattSessionStatusChangedEventArgs 類別

定義

這個類別代表 SessionStatusChanged 事件引數。

public ref class GattSessionStatusChangedEventArgs 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 GattSessionStatusChangedEventArgs 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 GattSessionStatusChangedEventArgs
Public NotInheritable Class GattSessionStatusChangedEventArgs
繼承
Object Platform::Object IInspectable GattSessionStatusChangedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
應用程式功能
bluetooth

屬性

Error

取得 GATT 會話的錯誤。

Status

取得 GATT 會話的狀態。

適用於