UserDataProtectionManager.ProtectBufferAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Protects a buffer to a specified availability.
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)
Parameters
- unprotectedBuffer
- IBuffer
- availability
- UserDataAvailability
Returns
A copy of the resultant protected buffer.
- Attributes