SecurityTokenReplayDetectedException 构造函数

定义

初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class.

重载

SecurityTokenReplayDetectedException()

初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class.

SecurityTokenReplayDetectedException(String)

使用指定的错误消息初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified error message.

SecurityTokenReplayDetectedException(SerializationInfo, StreamingContext)

使用指定的 XML 序列化数据和有关序列化流的源和目标的上下文数据来初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

SecurityTokenReplayDetectedException(String, Exception)

使用指定的错误消息和错误的根源初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified error message and root cause of the error.

SecurityTokenReplayDetectedException()

初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class.

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

适用于

SecurityTokenReplayDetectedException(String)

使用指定的错误消息初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified error message.

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

参数

message
String

一个标识异常发生原因的消息。A message that identifies the reason the exception occurred.

适用于

SecurityTokenReplayDetectedException(SerializationInfo, StreamingContext)

使用指定的 XML 序列化数据和有关序列化流的源和目标的上下文数据来初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream.

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

参数

info
SerializationInfo

一个 SerializationInfo,包含在序列化和反序列化过程中使用的值。A SerializationInfo that contains values that are used during serialization and deserialization.

context
StreamingContext

一个 SecurityTokenReplayDetectedException,包含有关序列化流的源和目标的数据。A SecurityTokenReplayDetectedException that contains data about the source and destination of the serialization stream.

适用于

SecurityTokenReplayDetectedException(String, Exception)

使用指定的错误消息和错误的根源初始化 SecurityTokenReplayDetectedException 类的新实例。Initializes a new instance of the SecurityTokenReplayDetectedException class using the specified error message and root cause of the error.

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

参数

message
String

一个标识异常发生原因的消息。A message that identifies the reason the exception occurred.

innerinnerException
Exception

一个 Exception,表示异常的根本原因。An Exception that represents the root cause of the exception.

适用于