EncryptedTokenDecryptionFailedException 构造函数

定义

初始化 EncryptedTokenDecryptionFailedException 类的新实例。

重载

名称 说明
EncryptedTokenDecryptionFailedException()

初始化 EncryptedTokenDecryptionFailedException 类的新实例。

EncryptedTokenDecryptionFailedException(String)

使用指定的错误消息初始化类的新实例 EncryptedTokenDecryptionFailedException

EncryptedTokenDecryptionFailedException(SerializationInfo, StreamingContext)

使用指定的 XML 序列化数据和有关序列化流的源和目标的上下文数据初始化类的新实例 EncryptedTokenDecryptionFailedException

EncryptedTokenDecryptionFailedException(String, Exception)

使用指定的错误消息和错误的根本原因初始化类的新实例 EncryptedTokenDecryptionFailedException

EncryptedTokenDecryptionFailedException()

初始化 EncryptedTokenDecryptionFailedException 类的新实例。

public:
 EncryptedTokenDecryptionFailedException();
public EncryptedTokenDecryptionFailedException();
Public Sub New ()

适用于

EncryptedTokenDecryptionFailedException(String)

使用指定的错误消息初始化类的新实例 EncryptedTokenDecryptionFailedException

public:
 EncryptedTokenDecryptionFailedException(System::String ^ message);
public EncryptedTokenDecryptionFailedException(string message);
new System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException : string -> System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException
Public Sub New (message As String)

参数

message
String

一条消息,用于标识发生异常的原因。

适用于

EncryptedTokenDecryptionFailedException(SerializationInfo, StreamingContext)

使用指定的 XML 序列化数据和有关序列化流的源和目标的上下文数据初始化类的新实例 EncryptedTokenDecryptionFailedException

protected:
 EncryptedTokenDecryptionFailedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EncryptedTokenDecryptionFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含序列化和反序列化期间使用的值的 A SerializationInfo

context
StreamingContext

包含有关序列化流的源和目标的数据的 A SecurityTokenException

适用于

EncryptedTokenDecryptionFailedException(String, Exception)

使用指定的错误消息和错误的根本原因初始化类的新实例 EncryptedTokenDecryptionFailedException

public:
 EncryptedTokenDecryptionFailedException(System::String ^ message, Exception ^ inner);
public EncryptedTokenDecryptionFailedException(string message, Exception inner);
new System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException : string * Exception -> System.IdentityModel.Tokens.EncryptedTokenDecryptionFailedException
Public Sub New (message As String, inner As Exception)

参数

message
String

一条消息,用于标识发生异常的原因。

inner
Exception

一个 Exception 表示异常的根本原因。

适用于