WiFiDirectServiceSessionRequestedEventArgs 类

定义

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

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.SessionRequested 事件处理程序。

方法

GetSessionRequest()

获取有关引发 WiFiDirectServiceAdvertiser.SessionRequested 事件的会话请求的信息。

适用于