Compartir a través de


X509CertificateValidator Constructor

Definición

Inicializa una nueva instancia de la clase X509CertificateValidator.

protected:
 X509CertificateValidator();
protected X509CertificateValidator ();
Protected Sub New ()

Ejemplos

public MyX509CertificateValidator(string allowedIssuerName)
{
    if (allowedIssuerName == null)
    {
        throw new ArgumentNullException("allowedIssuerName");
    }

    this.allowedIssuerName = allowedIssuerName;
}
Public Sub New(ByVal allowedIssuerName As String)
    If allowedIssuerName Is Nothing Then
        Throw New ArgumentNullException("allowedIssuerName")
    End If

    Me.allowedIssuerName = allowedIssuerName

End Sub

Comentarios

De forma predeterminada, este constructor no inicializa ninguna propiedad.

Se aplica a