Edit

Share via


UriTemplateMatchException Constructors

Definition

Initializes a new instance of the UriTemplateMatchException class.

Overloads

UriTemplateMatchException()

Initializes a new instance of the UriTemplateMatchException class.

UriTemplateMatchException(String)

Initializes a new instance of the UriTemplateMatchException class with the specified error message.

UriTemplateMatchException(SerializationInfo, StreamingContext)

Initializes a new instance of the UriTemplateMatchException class with serialized data.

UriTemplateMatchException(String, Exception)

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()

Initializes a new instance of the UriTemplateMatchException class.

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

Applies to

UriTemplateMatchException(String)

Initializes a new instance of the UriTemplateMatchException class with the specified error message.

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

UriTemplateMatchException(SerializationInfo, StreamingContext)

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)

Parameters

info
SerializationInfo

The object that holds the serialized data object.

context
StreamingContext

The contextual information about the source or destination.

Applies to

UriTemplateMatchException(String, Exception)

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 ^ message, Exception ^ innerException);
public UriTemplateMatchException (string message, Exception innerException);
new UriTemplateMatchException : string * Exception -> UriTemplateMatchException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to