Partager via


UserDataProtectionManager.ProtectBufferAsync Méthode

Définition

Protège une mémoire tampon vers une disponibilité spécifiée.

public:
 virtual IAsyncOperation<IBuffer ^> ^ ProtectBufferAsync(IBuffer ^ unprotectedBuffer, UserDataAvailability availability) = ProtectBufferAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IBuffer> ProtectBufferAsync(IBuffer const& unprotectedBuffer, UserDataAvailability const& availability);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IBuffer> ProtectBufferAsync(IBuffer unprotectedBuffer, UserDataAvailability availability);
function protectBufferAsync(unprotectedBuffer, availability)
Public Function ProtectBufferAsync (unprotectedBuffer As IBuffer, availability As UserDataAvailability) As IAsyncOperation(Of IBuffer)

Paramètres

unprotectedBuffer
IBuffer
availability
UserDataAvailability

Retours

Copie de la mémoire tampon protégée résultante.

Attributs

S’applique à