言語

WiFiDirectServiceSessionDeferredEventArgs クラス

定義

Deprecated. 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(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("WiFiDirectServiceSessionDeferredEventArgs is deprecated and might not work on all platforms. For more info, see Microsoft Learn.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 1245184, "Windows.Foundation.UniversalApiContract")]
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
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("WiFiDirectServiceSessionDeferredEventArgs is deprecated and might not work on all platforms. For more info, see Microsoft Learn.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 1245184, "Windows.Foundation.UniversalApiContract")]
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

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

適用対象