Class AuthorizationException
Thrown by Azos security to indicate the authorization problems, such as permission access denial
Inherited Members
System.Exception.GetBaseException()
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: Azos.Security
Assembly: Azos.dll
Syntax
[Serializable]
public class AuthorizationException : SecurityException, ISerializable, ISecurityException
Constructors
AuthorizationException()
Declaration
public AuthorizationException()
AuthorizationException(SerializationInfo, StreamingContext)
Declaration
protected AuthorizationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
AuthorizationException(String)
Declaration
public AuthorizationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
AuthorizationException(String, Exception)
Declaration
public AuthorizationException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | inner |
Methods
IsDenotedBy(Exception)
Returns true when the specified exception is AuthorizationException or AuthorizationException exists in the chain of InnerException/s of the specified exception
Declaration
public static bool IsDenotedBy(Exception error)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | error |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.Runtime.Serialization.ISerializable