Class UnknownResourceProviderException | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class UnknownResourceProviderException

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

    Inheritance
    System.Object
    System.Exception
    ResourceManagerException
    UnknownResourceProviderException
    Namespace: UnityEngine.ResourceManagement.Util
    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
    System.Runtime.Serialization.SerializationInfo message

    Message to describe the exception.

    System.Runtime.Serialization.StreamingContext context

    Context related to the exception.

    UnknownResourceProviderException(String)

    Construct a new UnknownResourceProviderException

    Declaration
    public UnknownResourceProviderException(string message)
    Parameters
    Type Name Description
    System.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
    System.String message

    Message to describe the exception.

    System.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
    System.String
    Overrides
    System.Exception.Message

    Methods

    ToString()

    Returns string representation of exception.

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

    String representation of exception.

    Overrides
    System.Exception.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