共用方式為


UserDataProtectionManager.ProtectBufferAsync 方法

定義

保護緩衝區到指定的可用性。

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)

參數

unprotectedBuffer
IBuffer
availability
UserDataAvailability

傳回

所產生之受保護緩衝區的複本。

屬性

適用於