Initializes a new instance of the CertificateStoreCollection class.

Namespace: LLCryptoLib.Security.Certificates
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionstores is a null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionOne of the CertificateStore objects in the array is a CertificateStoreCollection instance. This is not allowed to avoid circular dependencies.
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while adding a certificate to the collection.

See Also