Namespace: Microsoft.Clm.Shared.CertificateServer
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)
Usage
Visual Basic |
---|
Dim instance As ICertificateServer Dim serialNumbers As ReadOnlyCollection(Of String) Dim reason As RevocationReason Dim effectiveDate As DateTime instance.RevokeCertificates(serialNumbers, reason, effectiveDate) |
Syntax
Visual Basic |
---|
Sub RevokeCertificates ( _ serialNumbers As ReadOnlyCollection(Of String), _ reason As RevocationReason, _ effectiveDate As DateTime _ ) |
C# |
---|
void RevokeCertificates ( ReadOnlyCollection<string> serialNumbers, RevocationReason reason, DateTime effectiveDate ) |
C++ |
---|
void RevokeCertificates ( ReadOnlyCollection<String^>^ serialNumbers, RevocationReason reason, DateTime effectiveDate ) |
J# |
---|
void RevokeCertificates ( ReadOnlyCollection<String> serialNumbers, RevocationReason reason, DateTime effectiveDate ) |
JScript |
---|
function RevokeCertificates ( serialNumbers : ReadOnlyCollection<String>, reason : RevocationReason, effectiveDate : DateTime ) |
Parameters
- serialNumbers
- reason
- effectiveDate
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException |
Thrown if Initialize method has not been called. |
CertificateOperationException |
Thrown if RevokeCertificates operation fails |
ArgumentNullException |
Thrown if any null arguments are passed to the method. |
Remarks
Notes to Implementers: Implementation
must throw a CertificateOperationException after the first
error is encountered. Notes to Callers: Caller of this
method should not make any assumptions about the order of
processing for multiple certificates.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.