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