Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AssetException Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll

    An AssetException.

    System.Object → System.Exception → AssetException
    Derived from AssetException:

    public class AssetException : Exception, ISerializable, _Exception
    Name Description
    Constructors
    AssetException()

    Initializes a new instance of the AssetException class.

    AssetException(String)

    Initializes a new instance of the System.Exception class with a specified error message.

    AssetException(String, Exception)

    Initializes a new instance of the System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

    AssetException(String, Object[])

    Initializes a new instance of the System.Exception class with a specified error message.

    | Improve this Doc View Source

    Constructors


    AssetException()

    Initializes a new instance of the AssetException class.

    public AssetException()

    AssetException(String)

    Initializes a new instance of the System.Exception class with a specified error message.

    public AssetException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.


    AssetException(String, Exception)

    Initializes a new instance of the System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

    public AssetException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The error message that explains the reason for the exception.

    System.Exception innerException

    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.


    AssetException(String, Object[])

    Initializes a new instance of the System.Exception class with a specified error message.

    public AssetException(string message, params object[] formattedArguments)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    System.Object[] formattedArguments

    The formatted arguments.


    Inherited Members

    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Constructors
      • AssetException()
      • AssetException(String)
      • AssetException(String, Exception)
      • AssetException(String, Object[])
    • Inherited Members
    • Extension Methods

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation