Class SAMLSchemaValidationException
The exception that is thrown when a SAML schema validation error occurs.
Inheritance
System.Object
System.Exception
System.ApplicationException
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. |
info | The object that holds the serialized object data. |
System. |
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. |
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. |
message | The message. |
System. |
warnings | The list of XML schema warnings. |
System. |
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. |
message | The message. |
System. |
innerException | The inner exception. |
Properties
Errors
Gets the list of XML schema errors.
Declaration
public IList<XmlSchemaException> Errors { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
The list of XML schema warnings. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception