UserDataProtectionManager.ProtectBufferAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将缓冲区保护为指定的可用性。
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
返回
生成的受保护缓冲区的副本。
- 属性