SecurityTokenReplayDetectedException 构造函数

定义

初始化 SecurityTokenReplayDetectedException 类的新实例。

重载

SecurityTokenReplayDetectedException()

初始化 SecurityTokenReplayDetectedException 类的新实例。

SecurityTokenReplayDetectedException(String)

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

SecurityTokenReplayDetectedException(SerializationInfo, StreamingContext)

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

SecurityTokenReplayDetectedException(String, Exception)

使用指定的错误消息和错误的根源初始化 SecurityTokenReplayDetectedException 类的新实例。

SecurityTokenReplayDetectedException()

初始化 SecurityTokenReplayDetectedException 类的新实例。

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

适用于

SecurityTokenReplayDetectedException(String)

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

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

一个标识异常发生原因的消息。

适用于

SecurityTokenReplayDetectedException(SerializationInfo, StreamingContext)

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

protected:
 SecurityTokenReplayDetectedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected 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)

参数

info
SerializationInfo

一个 SerializationInfo,包含在序列化和反序列化过程中使用的值。

context
StreamingContext

一个 SecurityTokenReplayDetectedException,包含有关序列化流的源和目标的数据。

适用于

SecurityTokenReplayDetectedException(String, Exception)

使用指定的错误消息和错误的根源初始化 SecurityTokenReplayDetectedException 类的新实例。

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

参数

message
String

一个标识异常发生原因的消息。

inner
Exception

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

适用于