Udostępnij za pośrednictwem


VpnPacketBuffer.TransportContext Property

Definition

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

public:
 property Platform::Object ^ TransportContext { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable TransportContext();

void TransportContext(IInspectable value);
public object TransportContext { get; set; }
var object = vpnPacketBuffer.transportContext;
vpnPacketBuffer.transportContext = object;
Public Property TransportContext As Object

Property Value

Object

Platform::Object

IInspectable

A transport context object, for example the name of a host or server.

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