docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SteamCallResultException

    Thrown when a Steam async call fails to start, is already being awaited, or completes without a usable result, including an IO failure.

    Inheritance
    object
    Exception
    SteamCallResultException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public class SteamCallResultException : Exception, ISerializable

    Constructors

    SteamCallResultException(string)

    Creates a call result exception with a message describing the failed call.

    Declaration
    public SteamCallResultException(string message)
    Parameters
    Type Name Description
    string message

    Describes which call failed and how.

    SteamCallResultException(string, SteamAPICall_t, ESteamAPICallFailure)

    Creates the exception for a specific call and the failure reason that the Steamworks API reported for it.

    Declaration
    public SteamCallResultException(string message, SteamAPICall_t callHandle, ESteamAPICallFailure failureReason)
    Parameters
    Type Name Description
    string message

    Describes which call failed and how.

    SteamAPICall_t callHandle

    The handle of the failed call.

    ESteamAPICallFailure failureReason

    The reason that the Steamworks API reported for the failure.

    Properties

    CallHandle

    The handle of the failed call, or Invalid when the call did not start.

    Declaration
    public SteamAPICall_t CallHandle { get; }
    Property Value
    Type Description
    SteamAPICall_t

    FailureReason

    The reason for the call failure.

    Declaration
    public ESteamAPICallFailure FailureReason { get; }
    Property Value
    Type Description
    ESteamAPICallFailure
    Remarks

    ISteamUtils::GetAPICallFailureReason reports this value. When no failure reason is available, the value is k_ESteamAPICallFailureNone.

    Implements

    ISerializable
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)