AudienceUriValidationFailedException 构造函数

定义

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

重载

AudienceUriValidationFailedException()

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

AudienceUriValidationFailedException(String)

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

AudienceUriValidationFailedException(SerializationInfo, StreamingContext)

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

AudienceUriValidationFailedException(String, Exception)

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

AudienceUriValidationFailedException()

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

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

适用于

AudienceUriValidationFailedException(String)

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

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

参数

message
String

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

适用于

AudienceUriValidationFailedException(SerializationInfo, StreamingContext)

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

protected:
 AudienceUriValidationFailedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AudienceUriValidationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Tokens.AudienceUriValidationFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Tokens.AudienceUriValidationFailedException
Protected 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

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

适用于

AudienceUriValidationFailedException(String, Exception)

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

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

参数

message
String

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

inner
Exception

一个 Exception,表示异常的根源。A Exception that represents the root cause of the exception.

适用于