共用方式為


WiFiDirectServiceAutoAcceptSessionConnectedEventArgs 類別

定義

public ref class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
Public NotInheritable Class WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
繼承
Object Platform::Object IInspectable WiFiDirectServiceAutoAcceptSessionConnectedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

您的程式碼不會直接具現化此類別。 實例會當作引數傳遞至 WiFiDirectServiceAdvertiser.AutoAcceptSessionConnected 事件處理常式。

屬性

Session

取得自動接受連接時所建立的 WiFiDirectServiceSession

SessionInfo

取得對應至這個自動接受連接的會話資訊緩衝區。

適用於