Compartilhar via


VpnPacketBufferList Classe

Definição

Usado para gerenciar objetos VpnPacketBuffer.

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)]
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)]
public sealed class VpnPacketBufferList : IEnumerable<VpnPacketBuffer>
Public NotInheritable Class VpnPacketBufferList
Implements IEnumerable(Of VpnPacketBuffer)
Herança
Object Platform::Object IInspectable VpnPacketBufferList
Atributos
Implementações

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)
Funcionalidades do aplicativo
networkingVpnProvider

Propriedades

Size

Obtém o número de objetos IVpnPacketBuffer no objeto IVpnPacketBufferList .

Status

Obtém o status de VpnPacketBuffer. A propriedade de status pode ser usada para relatar erros ao manipular o IVpnPacketBufferList.

Métodos

AddAtBegin(VpnPacketBuffer)

Adicione um novo objeto IVpnPacketBuffer ao início doIVpnPacketBufferList .

Append(VpnPacketBuffer)

Adicione um novo objeto IVpnPacketBuffer ao final doIVpnPacketBufferList .

Clear()

Remove todos os objetos IVpnPacketBuffer de umIVpnPacketBufferList .

First()

Fornece acesso ao primeiro parâmetro. Esse elemento de programação do SDK é introduzido no Windows PowerShell 3.0.

RemoveAtBegin()

Remova o objeto IVpnPacketBuffer no início do IVpnPacketBufferList .

RemoveAtEnd()

Remova o objeto IVpnPacketBuffer no final doIVpnPacketBufferList .

Aplica-se a

Confira também