Struct ResourceManager.DiagnosticEventContext | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ResourceManager.DiagnosticEventContext

    Container for information associated with a Diagnostics event.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.ResourceManagement
    Syntax
    public struct DiagnosticEventContext

    Constructors

    DiagnosticEventContext(AsyncOperationHandle, ResourceManager.DiagnosticEventType, Int32, String, Object)

    Construct a new DiagnosticEventContext.

    Declaration
    public DiagnosticEventContext(AsyncOperationHandle op, ResourceManager.DiagnosticEventType type, int eventValue = 0, string error = null, object context = null)
    Parameters
    Type Name Description
    AsyncOperationHandle op

    Operation handle for the event.

    ResourceManager.DiagnosticEventType type

    The type of diagnostic event.

    Int32 eventValue

    The value for this event.

    String error

    Any error that occured.

    Object context

    Additional context data.

    Properties

    Context

    Addition data included with this event.

    Declaration
    public object Context { get; }
    Property Value
    Type Description
    Object

    Error

    Any error that occured.

    Declaration
    public string Error { get; }
    Property Value
    Type Description
    String

    EventValue

    The value for this event.

    Declaration
    public int EventValue { get; }
    Property Value
    Type Description
    Int32

    Location

    The IResourceLocation being provided by the operation triggering this event. This value is null if the event is not while providing a resource.

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

    OperationHandle

    Operation handle for the event.

    Declaration
    public AsyncOperationHandle OperationHandle { get; }
    Property Value
    Type Description
    AsyncOperationHandle

    Type

    The type of diagnostic event.

    Declaration
    public ResourceManager.DiagnosticEventType Type { get; }
    Property Value
    Type Description
    ResourceManager.DiagnosticEventType
    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