Class AbpAuthorizationException
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.ToString()
System.Exception.GetType()
System.Exception.TargetSite
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.StackTrace
System.Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Authorization
Assembly: Volo.Abp.Security.dll
Syntax
public class AbpAuthorizationException : AbpException, ISerializable, IHasLogLevel, IHasErrorCode
Constructors
AbpAuthorizationException()
Declaration
public AbpAuthorizationException()
AbpAuthorizationException(SerializationInfo, StreamingContext)
Declaration
public AbpAuthorizationException(SerializationInfo serializationInfo, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | serializationInfo | |
System.Runtime.Serialization.StreamingContext | context |
AbpAuthorizationException(string, Exception)
Declaration
public AbpAuthorizationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
System.Exception | innerException |
AbpAuthorizationException(string?, string?, Exception?)
Declaration
public AbpAuthorizationException(string? message = null, string? code = null, Exception? innerException = null)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
string | code | |
System.Exception | innerException |
AbpAuthorizationException(string)
Declaration
public AbpAuthorizationException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
Properties
Code
Declaration
public string? Code { get; }
Property Value
Type | Description |
---|---|
string |
LogLevel
Declaration
public LogLevel LogLevel { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.LogLevel |
Methods
WithData(string, object)
Declaration
public AbpAuthorizationException WithData(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
object | value |
Returns
Type | Description |
---|---|
AbpAuthorizationException |
Implements
System.Runtime.Serialization.ISerializable