VpnChannel.CurrentRequestTransportContext プロパティ

定義

ホストまたはサーバーの名前など、使用中のトランスポート コンテキスト オブジェクトを取得します。

public:
 property Platform::Object ^ CurrentRequestTransportContext { Platform::Object ^ get(); };
IInspectable CurrentRequestTransportContext();
public object CurrentRequestTransportContext { get; }
var object = vpnChannel.currentRequestTransportContext;
Public ReadOnly Property CurrentRequestTransportContext As Object

プロパティ値

Object

Platform::Object

IInspectable

ホストまたはサーバーの名前など、使用中のトランスポート コンテキスト オブジェクト。 この値は、コールバックの外部 (再接続の場合など) にプロパティにアクセスする場合に null されます。

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)
アプリの機能
networkingVpnProvider

適用対象