Class SAMLSchemaValidationException
The exception that is thrown when a SAML schema validation error occurs.
Inherited Members
Namespace: ComponentSpace.SAML2.Exceptions
Assembly: ComponentSpace.Saml2.dll
Syntax
[Serializable]
public class SAMLSchemaValidationException : SAMLException, ISerializable, _Exception
  Constructors
SAMLSchemaValidationException(SerializationInfo, StreamingContext)
Initializes a new instance of the SAMLSchemaValidationException class.
Declaration
public SAMLSchemaValidationException(SerializationInfo info, StreamingContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SerializationInfo | info | The object that holds the serialized object data.  | 
      
| StreamingContext | context | The contextual information about the source or destination.  | 
      
SAMLSchemaValidationException(string)
Initializes a new instance of the SAMLSchemaValidationException class.
Declaration
public SAMLSchemaValidationException(string message)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | message | The message.  | 
      
SAMLSchemaValidationException(string, IList<XmlSchemaException>, IList<XmlSchemaException>)
Initializes a new instance of the SAMLSchemaValidationException class.
Declaration
public SAMLSchemaValidationException(string message, IList<XmlSchemaException> warnings, IList<XmlSchemaException> errors)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | message | The message.  | 
      
| IList<XmlSchemaException> | warnings | The list of XML schema warnings.  | 
      
| IList<XmlSchemaException> | errors | The list of XML schema errors.  | 
      
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 message.  | 
      
| Exception | innerException | The inner exception.  | 
      
Properties
Errors
Gets the list of XML schema errors.
Declaration
public IList<XmlSchemaException> Errors { get; }
  Property Value
| Type | Description | 
|---|---|
| IList<XmlSchemaException> | The list of XML schema errors.  | 
      
Warnings
Gets the list of XML schema warnings.
Declaration
public IList<XmlSchemaException> Warnings { get; }
  Property Value
| Type | Description | 
|---|---|
| IList<XmlSchemaException> | The list of XML schema warnings.  |