VpnPacketBufferList Class

Definition

Used to manage VpnPacketBuffer objects.

public ref class VpnPacketBufferList sealed : IIterable<VpnPacketBuffer ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class VpnPacketBufferList final : IIterable<VpnPacketBuffer>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class VpnPacketBufferList : IEnumerable<VpnPacketBuffer>
Public NotInheritable Class VpnPacketBufferList
Implements IEnumerable(Of VpnPacketBuffer)
Inheritance
VpnPacketBufferList
Attributes
Implements

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Properties

Size

Gets the number of IVpnPacketBuffer objects in the IVpnPacketBufferList object.

Status

Gets the status of VpnPacketBuffer. The status property may be used to report errors when manipulating the IVpnPacketBufferList.

Methods

AddAtBegin(VpnPacketBuffer)

Add a new IVpnPacketBuffer object to the start of the IVpnPacketBufferList.

Append(VpnPacketBuffer)

Add a new IVpnPacketBuffer object to the end of the IVpnPacketBufferList.

Clear()

Removes all the IVpnPacketBuffer objects from a IVpnPacketBufferList.

First()

Provides access to the First parameter. This SDK programming element is introduced in Windows PowerShell 3.0.

RemoveAtBegin()

Remove the IVpnPacketBuffer object at the start of the IVpnPacketBufferList.

RemoveAtEnd()

Remove the IVpnPacketBuffer object at the end of the IVpnPacketBufferList.

Applies to

See also