X509CertificateValidationElement.RevocationMode 属性

The X.509 RevocationMode.

命名空间: Microsoft.IdentityModel.Configuration
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As X509CertificateValidationElement
Dim value As X509RevocationMode

value = instance.RevocationMode

instance.RevocationMode = value

语法

声明
<ConfigurationPropertyAttribute("revocationMode", IsRequired:=False, DefaultValue:=X509RevocationMode.Online)> _
<TypeConverterAttribute(GetType(X509RevocationModeConverter))> _
Public Property RevocationMode As X509RevocationMode
[ConfigurationPropertyAttribute("revocationMode", IsRequired=false, DefaultValue=X509RevocationMode.Online)] 
[TypeConverterAttribute(typeof(X509RevocationModeConverter))] 
public X509RevocationMode RevocationMode { get; set; }
[ConfigurationPropertyAttribute(L"revocationMode", IsRequired=false, DefaultValue=X509RevocationMode::Online)] 
[TypeConverterAttribute(typeof(X509RevocationModeConverter))] 
public:
property X509RevocationMode RevocationMode {
    X509RevocationMode get ();
    void set (X509RevocationMode value);
}
/** @property */
public X509RevocationMode get_RevocationMode ()

/** @property */
public void set_RevocationMode (X509RevocationMode value)
public function get RevocationMode () : X509RevocationMode

public function set RevocationMode (value : X509RevocationMode)

异常

异常类型 条件

备注

The default value is Online.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

X509CertificateValidationElement 类
X509CertificateValidationElement 成员
Microsoft.IdentityModel.Configuration 命名空间