Class SamlSchemaValidationException
- Namespace
- ComponentSpace.Saml2.Exceptions
- Assembly
- ComponentSpace.Saml2.dll
The exception that is thrown when a SAML schema validation error occurs.
public class SamlSchemaValidationException : SamlException, ISerializable
- Inheritance
-
SamlSchemaValidationException
- Implements
- Inherited Members
Constructors
SamlSchemaValidationException(string)
Initializes a new instance of the SamlSchemaValidationException class.
public SamlSchemaValidationException(string message)
Parameters
messagestringThe error message.
SamlSchemaValidationException(string, IList<string>, IList<string>)
Initializes a new instance of the SamlSchemaValidationException class.
public SamlSchemaValidationException(string message, IList<string> errors, IList<string> warnings)
Parameters
messagestringThe error message.
errorsIList<string>The schema errors.
warningsIList<string>The schema warnings.
SamlSchemaValidationException(string, Exception)
Initializes a new instance of the SamlSchemaValidationException class.
public SamlSchemaValidationException(string message, Exception innerException)
Parameters
Properties
Errors
Gets or sets the list of XML schema errors.
public IList<string> Errors { get; set; }
Property Value
Warnings
Gets or sets the list of XML schema warnings.
public IList<string> Warnings { get; set; }