Class SamlSchemaValidationException
The exception that is thrown when a SAML schema validation error occurs.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ComponentSpace.Saml2.Exceptions
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlSchemaValidationException : SamlException, ISerializable
Constructors
SamlSchemaValidationException(String)
Initializes a new instance of the SamlSchemaValidationException
class.
Declaration
public SamlSchemaValidationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message. |
SamlSchemaValidationException(String, IList<String>, IList<String>)
Initializes a new instance of the SamlSchemaValidationException
class.
Declaration
public SamlSchemaValidationException(string message, IList<string> errors, IList<string> warnings)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message. |
System.Collections.Generic.IList<System.String> | errors | The schema errors. |
System.Collections.Generic.IList<System.String> | warnings | The schema warnings. |
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 error message. |
System.Exception | innerException | The inner exception. |
Properties
Errors
Gets or sets the list of XML schema errors.
Declaration
public IList<string> Errors { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of XML schema errors. |
Warnings
Gets or sets the list of XML schema warnings.
Declaration
public IList<string> Warnings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The list of XML schema warnings. |
Implements
System.Runtime.Serialization.ISerializable