Show / Hide Table of Contents

Class SAMLSchemaValidationException

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

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

Implements

ISerializable
_Exception
In this article
Back to top Copyright © ComponentSpace Pty Ltd 2004-2025. All rights reserved.