Show / Hide Table of Contents

Class SAMLSchemaValidationException

The exception that is thrown when a SAML schema validation error occurs.

Inheritance
System.Object
System.Exception
System.ApplicationException
SAMLException
SAMLSchemaValidationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
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
System.Runtime.Serialization.SerializationInfo info

The object that holds the serialized object data.

System.Runtime.Serialization.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
System.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
System.String message

The message.

System.Collections.Generic.IList<System.Xml.Schema.XmlSchemaException> warnings

The list of XML schema warnings.

System.Collections.Generic.IList<System.Xml.Schema.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
System.String message

The message.

System.Exception innerException

The inner exception.

Properties

Errors

Gets the list of XML schema errors.

Declaration
public IList<XmlSchemaException> Errors { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Xml.Schema.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
System.Collections.Generic.IList<System.Xml.Schema.XmlSchemaException>

The list of XML schema warnings.

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2022. All rights reserved.