AttributeTableValidationException Constructors

Definition

Creates a new instance of the AttributeTableValidationException class.

Overloads

AttributeTableValidationException()

Creates a new instance of the AttributeTableValidationException class.

AttributeTableValidationException(String)

Creates a new instance of the AttributeTableValidationException class with a specified message about the exception.

AttributeTableValidationException(SerializationInfo, StreamingContext)

Creates a new instance of the AttributeTableValidationException class that uses a specified serialization store and context.

AttributeTableValidationException(String, IEnumerable<String>)

Creates a new instance of the AttributeTableValidationException class with a message for the user and an enumeration of validation errors that have occurred.

AttributeTableValidationException(String, Exception)

Creates a new instance of the AttributeTableValidationException class with a specified message for the user and the error that caused the current exception.

AttributeTableValidationException(String, Exception, IEnumerable<String>)

Creates a new instance of the AttributeTableValidationException class with the specified message for the user, the error that caused the current exception, and an enumeration of errors that occurred during validation.

AttributeTableValidationException()

Creates a new instance of the AttributeTableValidationException class.

C#
public AttributeTableValidationException();

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AttributeTableValidationException(String)

Creates a new instance of the AttributeTableValidationException class with a specified message about the exception.

C#
public AttributeTableValidationException(string message);

Parameters

message
String

A message about the exception that is provided to the user.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AttributeTableValidationException(SerializationInfo, StreamingContext)

Creates a new instance of the AttributeTableValidationException class that uses a specified serialization store and context.

C#
protected AttributeTableValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The serialization store.

context
StreamingContext

The serialization context.

Remarks

This method is used during serialization to deserialize an exception.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AttributeTableValidationException(String, IEnumerable<String>)

Creates a new instance of the AttributeTableValidationException class with a message for the user and an enumeration of validation errors that have occurred.

C#
public AttributeTableValidationException(string message, System.Collections.Generic.IEnumerable<string> validationErrors);

Parameters

message
String

A message about the exception that is provided to the user.

validationErrors
IEnumerable<String>

Zero or more errors that occurred during validation.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AttributeTableValidationException(String, Exception)

Creates a new instance of the AttributeTableValidationException class with a specified message for the user and the error that caused the current exception.

C#
public AttributeTableValidationException(string message, Exception inner);

Parameters

message
String

A message about the exception that is provided to the user.

inner
Exception

The error that caused the current exception.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AttributeTableValidationException(String, Exception, IEnumerable<String>)

Creates a new instance of the AttributeTableValidationException class with the specified message for the user, the error that caused the current exception, and an enumeration of errors that occurred during validation.

C#
public AttributeTableValidationException(string message, Exception inner, System.Collections.Generic.IEnumerable<string> validationErrors);

Parameters

message
String

A message about the exception that is provided to the user.

inner
Exception

The error that caused the current exception.

validationErrors
IEnumerable<String>

Zero or more errors that occurred during validation.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1