Table of Contents

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

message string

The 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

message string

The error message.

errors IList<string>

The schema errors.

warnings IList<string>

The schema warnings.

SamlSchemaValidationException(string, Exception)

Initializes a new instance of the SamlSchemaValidationException class.

public SamlSchemaValidationException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.

Properties

Errors

Gets or sets the list of XML schema errors.

public IList<string> Errors { get; set; }

Property Value

IList<string>

The list of XML schema errors.

Warnings

Gets or sets the list of XML schema warnings.

public IList<string> Warnings { get; set; }

Property Value

IList<string>

The list of XML schema warnings.