ArchmageException
Namespace: Shadop.Archmage.Sdk
Exception thrown by the Archmage SDK during configuration loading and processing.
public class ArchmageException : System.Exception, System.Runtime.Serialization.ISerializableInheritance Object → Exception → ArchmageException
Implements ISerializable
Remarks:
All exceptions raised by the SDK use this exception type and automatically include the <archmage>
prefix in the message for easy identification.
Properties
Section titled “Properties”TargetSite
Section titled “TargetSite”public MethodBase TargetSite { get; }Property Value
Section titled “Property Value”Message
Section titled “Message”public string Message { get; }Property Value
Section titled “Property Value”public IDictionary Data { get; }Property Value
Section titled “Property Value”InnerException
Section titled “InnerException”public Exception InnerException { get; }Property Value
Section titled “Property Value”HelpLink
Section titled “HelpLink”public string HelpLink { get; set; }Property Value
Section titled “Property Value”Source
Section titled “Source”public string Source { get; set; }Property Value
Section titled “Property Value”HResult
Section titled “HResult”public int HResult { get; set; }Property Value
Section titled “Property Value”StackTrace
Section titled “StackTrace”public string StackTrace { get; }Property Value
Section titled “Property Value”Constructors
Section titled “Constructors”ArchmageException(String)
Section titled “ArchmageException(String)”public ArchmageException(string message)Parameters
Section titled “Parameters”message String
ArchmageException(String, Exception)
Section titled “ArchmageException(String, Exception)”public ArchmageException(string message, Exception innerException)Parameters
Section titled “Parameters”message String
innerException Exception
Events
Section titled “Events”SerializeObjectState
Section titled “SerializeObjectState”Caution
Section titled “Caution”BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;