'Declaration
Function AddRejected( _ ByVal certificates As X509Certificate2Collection, _ ByVal maxCertificates As Integer _ ) As Task
'Usage
Dim instance As ICertificateStore Dim certificates As X509Certificate2Collection Dim maxCertificates As Integer Dim value As Task value = instance.AddRejected(certificates, maxCertificates)
Task AddRejected( X509Certificate2Collection certificates, int maxCertificates )
Task^ AddRejected( X509Certificate2Collection^ certificates, int maxCertificates )
Parameters
- certificates
- The certificate collection.
- maxCertificates
- The max number of rejected certificates to keep in the store. A negative number keeps no history, 0 is unlimited.