TriLib
Search Results for

    Show / Hide Table of Contents

    Class ContextualizedError<T>

    Represents a Thread Exception with a Context.

    Inheritance
    object
    Exception
    ContextualizedError<T>
    Implements
    ISerializable
    IContextualizedError
    IAssetLoaderContext
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.General
    Assembly: TriLibCore.dll
    Syntax
    public class ContextualizedError<T> : Exception, ISerializable, IContextualizedError, IAssetLoaderContext
    Type Parameters
    Name Description
    T

    Constructors

    ContextualizedError(Exception, T)

    Initializes the Contextualized Error with the given inner Exception and Context.

    Declaration
    public ContextualizedError(Exception innerException, T errorContext)
    Parameters
    Type Name Description
    Exception innerException

    The inner Exception.

    T errorContext

    The Context which has been passed to the Error.

    Fields

    ErrorContext

    Context passed to the Thread which generated the Exception.

    Declaration
    public readonly T ErrorContext
    Field Value
    Type Description
    T

    Properties

    Context

    The Asset Loader Context used when the error was generated.

    Declaration
    public AssetLoaderContext Context { get; set; }
    Property Value
    Type Description
    AssetLoaderContext

    Methods

    GetContext()

    Gets the Context Object.

    Declaration
    public object GetContext()
    Returns
    Type Description
    object

    System.Object.

    GetInnerException()

    Gets the Contextualized Error inner Exception.

    Declaration
    public Exception GetInnerException()
    Returns
    Type Description
    Exception

    The inner Exception.

    Implements

    ISerializable
    IContextualizedError
    IAssetLoaderContext

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX