Class UnknownResourceProviderException | Addressables | 1.7.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class UnknownResourceProviderException

    Exception returned when the IResourceProvider is not found for a location.

    Inheritance
    Object
    Exception
    ResourceManagerException
    UnknownResourceProviderException
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Namespace: UnityEngine.ResourceManagement.Exceptions
    Syntax
    public class UnknownResourceProviderException : ResourceManagerException, ISerializable, _Exception

    Constructors

    UnknownResourceProviderException()

    Construct a new UnknownResourceProviderException

    Declaration
    public UnknownResourceProviderException()

    UnknownResourceProviderException(SerializationInfo, StreamingContext)

    Construct a new UnknownResourceProviderException

    Declaration
    protected UnknownResourceProviderException(SerializationInfo message, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo message

    Message to describe the exception.

    StreamingContext context

    Context related to the exception.

    UnknownResourceProviderException(String)

    Construct a new UnknownResourceProviderException

    Declaration
    public UnknownResourceProviderException(string message)
    Parameters
    Type Name Description
    String message

    Message to describe the exception.

    UnknownResourceProviderException(String, Exception)

    Construct a new UnknownResourceProviderException

    Declaration
    public UnknownResourceProviderException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message

    Message to describe the exception.

    Exception innerException

    Inner exception that caused this exception.

    UnknownResourceProviderException(IResourceLocation)

    Construct a new UnknownResourceProviderException

    Declaration
    public UnknownResourceProviderException(IResourceLocation location)
    Parameters
    Type Name Description
    IResourceLocation location

    The location that caused the exception to be created.

    Properties

    Location

    The location that contains the provider id that was not found.

    Declaration
    public IResourceLocation Location { get; }
    Property Value
    Type Description
    IResourceLocation

    Message

    Returns a string describing this exception

    Declaration
    public override string Message { get; }
    Property Value
    Type Description
    String
    Overrides
    Exception.Message

    Methods

    ToString()

    Returns string representation of exception.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    String representation of exception.

    Overrides
    Exception.ToString()
    In This Article
    • Constructors
      • UnknownResourceProviderException()
      • UnknownResourceProviderException(SerializationInfo, StreamingContext)
      • UnknownResourceProviderException(String)
      • UnknownResourceProviderException(String, Exception)
      • UnknownResourceProviderException(IResourceLocation)
    • Properties
      • Location
      • Message
    • Methods
      • ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023