EncryptedTokenDecryptionFailedException Constructors

Definition

Initializes a new instance of the EncryptedTokenDecryptionFailedException class.

Overloads

EncryptedTokenDecryptionFailedException()

Initializes a new instance of the EncryptedTokenDecryptionFailedException class.

EncryptedTokenDecryptionFailedException(String)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified error message.

EncryptedTokenDecryptionFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

EncryptedTokenDecryptionFailedException(String, Exception)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified error message and root cause of the error.

EncryptedTokenDecryptionFailedException()

Initializes a new instance of the EncryptedTokenDecryptionFailedException class.

C#
public EncryptedTokenDecryptionFailedException();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

EncryptedTokenDecryptionFailedException(String)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified error message.

C#
public EncryptedTokenDecryptionFailedException(string message);

Parameters

message
String

A message that identifies the reason the exception occurred.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

EncryptedTokenDecryptionFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

C#
protected EncryptedTokenDecryptionFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

A SerializationInfo that contains values that are used during serialization and deserialization.

context
StreamingContext

A SecurityTokenException that contains data about the source and destination of the serialization stream.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

EncryptedTokenDecryptionFailedException(String, Exception)

Initializes a new instance of the EncryptedTokenDecryptionFailedException class using the specified error message and root cause of the error.

C#
public EncryptedTokenDecryptionFailedException(string message, Exception inner);

Parameters

message
String

A message that identifies the reason the exception occurred.

inner
Exception

A Exception that represents the root cause of the exception.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1