Initializes a new instance of the CertificateStoreCollection class.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public CertificateStoreCollection( CertificateStore[] stores ) |
Visual Basic |
---|
Public Sub New ( _ stores As CertificateStore() _ ) |
Visual C++ |
---|
public: CertificateStoreCollection( array<CertificateStore^>^ stores ) |
Parameters
- stores
- Type: array<LLCryptoLib.Security.Certificates..::..CertificateStore>[]()[][]
An array of stores that should be added to the collection.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | stores is a null reference (Nothing in Visual Basic). |
System..::..ArgumentException | One of the CertificateStore objects in the array is a CertificateStoreCollection instance. This is not allowed to avoid circular dependencies. |
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while adding a certificate to the collection. |