Mentalis.org Security Library documentation

CertificateStoreCollection Constructor 

Initializes a new instance of the CertificateStoreCollection class.

[Visual Basic]
Public Sub New( _
   ByVal stores As CertificateStore() _
)
[C#]
public CertificateStoreCollection(
   CertificateStore[] stores
);

Parameters

stores
An array of stores that should be added to the collection.

Exceptions

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

See Also

CertificateStoreCollection Class | CertificateStoreCollection Members | Org.Mentalis.Security.Certificates Namespace