AttributeTableValidationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
AttributeTableValidationException();
public AttributeTableValidationException ();
Public Sub New ()
Applies to
AttributeTableValidationException(String)
Creates a new instance of the AttributeTableValidationException class with a specified message about the exception.
public:
AttributeTableValidationException(System::String ^ message);
public AttributeTableValidationException (string message);
new System.Activities.Presentation.Metadata.AttributeTableValidationException : string -> System.Activities.Presentation.Metadata.AttributeTableValidationException
Public Sub New (message As String)
Parameters
- message
- String
A message about the exception that is provided to the user.
Applies to
AttributeTableValidationException(SerializationInfo, StreamingContext)
Creates a new instance of the AttributeTableValidationException class that uses a specified serialization store and context.
protected:
AttributeTableValidationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AttributeTableValidationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.Presentation.Metadata.AttributeTableValidationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.Presentation.Metadata.AttributeTableValidationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialization store.
- context
- StreamingContext
The serialization context.
Remarks
This method is used during serialization to deserialize an exception.
Applies to
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.
public:
AttributeTableValidationException(System::String ^ message, System::Collections::Generic::IEnumerable<System::String ^> ^ validationErrors);
public AttributeTableValidationException (string message, System.Collections.Generic.IEnumerable<string> validationErrors);
new System.Activities.Presentation.Metadata.AttributeTableValidationException : string * seq<string> -> System.Activities.Presentation.Metadata.AttributeTableValidationException
Public Sub New (message As String, validationErrors As IEnumerable(Of String))
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
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.
public:
AttributeTableValidationException(System::String ^ message, Exception ^ inner);
public AttributeTableValidationException (string message, Exception inner);
new System.Activities.Presentation.Metadata.AttributeTableValidationException : string * Exception -> System.Activities.Presentation.Metadata.AttributeTableValidationException
Public Sub New (message As String, inner As Exception)
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
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.
public:
AttributeTableValidationException(System::String ^ message, Exception ^ inner, System::Collections::Generic::IEnumerable<System::String ^> ^ validationErrors);
public AttributeTableValidationException (string message, Exception inner, System.Collections.Generic.IEnumerable<string> validationErrors);
new System.Activities.Presentation.Metadata.AttributeTableValidationException : string * Exception * seq<string> -> System.Activities.Presentation.Metadata.AttributeTableValidationException
Public Sub New (message As String, inner As Exception, validationErrors As IEnumerable(Of String))
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.