UserCertificateStore.RequestAddAsync(Certificate) 方法

定义

请求将证书添加到存储区。

public:
 virtual IAsyncOperation<bool> ^ RequestAddAsync(Certificate ^ certificate) = RequestAddAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestAddAsync(Certificate const& certificate);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestAddAsync(Certificate certificate);
function requestAddAsync(certificate)
Public Function RequestAddAsync (certificate As Certificate) As IAsyncOperation(Of Boolean)

参数

certificate
Certificate

要添加的证书。

返回

此方法完成后,如果成功添加证书,则返回 true;否则,返回 false。

属性

适用于