docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SessionException

    The exception for session operations

    Inheritance
    object
    SessionException
    Namespace: Unity.Services.Multiplayer
    Assembly: solution.dll
    Syntax
    public class SessionException : Exception

    Properties

    Error

    Gets the error type

    Declaration
    public SessionError Error { get; }
    Property Value
    Type Description
    SessionError

    Methods

    ToString()

    Returns a string representation of the SessionExceptioninstance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current exception with its SessionError and its Exception.Message.

    In This Article
    Back to top
    Copyright © 2025 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)