WiFiDirectServiceSessionDeferredEventArgs クラス

定義

WiFiDirectService.SessionDeferred イベントが発生したときに返されます。

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

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 で導入)

注釈

コードは、このクラスを直接インスタンス化しません。 このクラスのインスタンスは、 WiFiDirectService.SessionDeferred イベント ハンドラーに引数として渡されます。

プロパティ

DeferredSessionInfo

接続要求に応答して遅延を送信するときに、サービスによって返されるサービス定義のセッション情報を取得します。 遅延は、接続が拒否されたことを示すものではありません。 代わりに、サーバーがユーザー入力の要求などの時間のかかる操作を実行していることを示します。 シーカーは、要求をあきらめる前に遅延を取得した後、120 秒のタイムアウトを実装する必要があります。

適用対象