AttributeTableValidationException Constructor (String, IEnumerable<String>)
Initializes a new instance of the AttributeTableValidationException class with a collection of validation errors.
Namespace: Microsoft.Windows.Design.Metadata
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
validationErrors As IEnumerable(Of String) _
)
public AttributeTableValidationException(
string message,
IEnumerable<string> validationErrors
)
public:
AttributeTableValidationException(
String^ message,
IEnumerable<String^>^ validationErrors
)
new :
message:string *
validationErrors:IEnumerable<string> -> AttributeTableValidationException
public function AttributeTableValidationException(
message : String,
validationErrors : IEnumerable<String>
)
Parameters
- message
Type: System.String
The message provided to the user.
- validationErrors
Type: System.Collections.Generic.IEnumerable<String>
A collection of errors which occurred during validation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AttributeTableValidationException Class
AttributeTableValidationException Overload
Microsoft.Windows.Design.Metadata Namespace