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

    Class ResourceProviderFailedException

    Exception created when an IResourceProvider is unabled to load the specified location.

    Inheritance
    System.Object
    System.Exception
    ResourceManagerException
    ResourceProviderFailedException
    Namespace: UnityEngine.ResourceManagement.Util
    Syntax
    public class ResourceProviderFailedException : ResourceManagerException, ISerializable, _Exception

    Constructors

    ResourceProviderFailedException()

    Construct a new ResourceProviderFailedException

    Declaration
    public ResourceProviderFailedException()

    ResourceProviderFailedException(SerializationInfo, StreamingContext)

    Construct a new ResourceProviderFailedException

    Declaration
    protected ResourceProviderFailedException(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.

    ResourceProviderFailedException(String)

    Construct a new ResourceProviderFailedException

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

    Message to describe the exception.

    ResourceProviderFailedException(String, Exception)

    Construct a new ResourceProviderFailedException

    Declaration
    public ResourceProviderFailedException(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.

    ResourceProviderFailedException(IResourceProvider, IResourceLocation)

    Construct a new ResourceProviderFailedException

    Declaration
    public ResourceProviderFailedException(IResourceProvider provider, IResourceLocation location)
    Parameters
    Type Name Description
    IResourceProvider provider
    IResourceLocation location

    Properties

    Location

    The location that is unable to be loaded.

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

    Message

    Returns a descriptive string for the exception.

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

    Provider

    The provider that is unable to load the location.

    Declaration
    public IResourceProvider Provider { get; }
    Property Value
    Type Description
    IResourceProvider
    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