Dela via


VpnChannel.CurrentRequestTransportContext Property

Definition

Gets the transport context object in use, for example the name of a host or server.

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

Property Value

Object

Platform::Object

IInspectable

The transport context object in use, for example the name of a host or server. The value is null if the property is accessed outside of a callback (for example, in the case of a reconnection).

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
networkingVpnProvider

Applies to