docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommandInterruptedException

    This exception is thrown when the connection is lost or dropped during a command execution (i.e. subscription, unsubscription, etc.).

    Inheritance
    object
    CommandInterruptedException
    Namespace: Unity.Services.Wire.Internal
    Assembly: Unity.Services.Wire.Internal.dll
    Syntax
    public class CommandInterruptedException : RequestFailedException

    Constructors

    CommandInterruptedException(string, CentrifugeCloseCode)

    This exception is thrown when the connection is lost or dropped during a command execution (i.e. subscription, unsubscription, etc.).

    Declaration
    public CommandInterruptedException(string reason, CentrifugeCloseCode code)
    Parameters
    Type Name Description
    string reason
    CentrifugeCloseCode code

    Properties

    m_Code

    The close code explaining the reason why the Wire connection was interrupted in the middle of a Command. CentrifugeCloseCode

    Declaration
    public CentrifugeCloseCode m_Code { get; }
    Property Value
    Type Description
    CentrifugeCloseCode
    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)