Show / Hide Table of Contents

Class AuthorizationError

Represents an authorization error with a code, message, and additional data.

Inheritance
System.Object
AuthorizationError
Implements
System.IEquatable<AuthorizationError>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: MediatorForge.Utilities
Assembly: MediatorForge.dll
Syntax
public class AuthorizationError : IEquatable<AuthorizationError>

Constructors

| Improve this Doc View Source

AuthorizationError(String, String, Object)

Represents an authorization error with a code, message, and additional data.

Declaration
public AuthorizationError(string Code, string Message, object AdditionalData = null)
Parameters
Type Name Description
System.String Code
System.String Message
System.Object AdditionalData

Properties

| Improve this Doc View Source

AdditionalData

Declaration
public object AdditionalData { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Code

Declaration
public string Code { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Message

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.Object.ToString()

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX