UriTemplateMatchException UriTemplateMatchException UriTemplateMatchException UriTemplateMatchException Constructors

定义

重载

UriTemplateMatchException() UriTemplateMatchException() UriTemplateMatchException()

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

UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext)

用序列化数据初始化 UriTemplateMatchException 类的新实例。Initializes a new instance of the UriTemplateMatchException class with serialized data.

UriTemplateMatchException(String) UriTemplateMatchException(String) UriTemplateMatchException(String) UriTemplateMatchException(String)

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

UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 UriTemplateMatchException 类的新实例。Initializes a new instance of the UriTemplateMatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.

UriTemplateMatchException() UriTemplateMatchException() UriTemplateMatchException()

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

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

UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext) UriTemplateMatchException(SerializationInfo, StreamingContext)

用序列化数据初始化 UriTemplateMatchException 类的新实例。Initializes a new instance of the UriTemplateMatchException class with serialized data.

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

参数

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

用于保存序列化数据对象的对象。The object that holds the serialized data object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

关于来源和目标的上下文信息The contextual information about the source or destination.

UriTemplateMatchException(String) UriTemplateMatchException(String) UriTemplateMatchException(String) UriTemplateMatchException(String)

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

public:
 UriTemplateMatchException(System::String ^ msg);
public UriTemplateMatchException (string msg);
new UriTemplateMatchException : string -> UriTemplateMatchException
Public Sub New (msg As String)

参数

message
String String String String

解释异常原因的错误消息。The error message that explains the reason for the exception.

UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception) UriTemplateMatchException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 UriTemplateMatchException 类的新实例。Initializes a new instance of the UriTemplateMatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 UriTemplateMatchException(System::String ^ msg, Exception ^ inner);
public UriTemplateMatchException (string msg, Exception inner);
new UriTemplateMatchException : string * Exception -> UriTemplateMatchException
Public Sub New (msg As String, inner As Exception)

参数

message
String String String String

解释异常原因的错误消息。The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

导致当前异常的异常。The exception that is the cause of the current exception.

适用于