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
    Exception
    RequestFailedException
    CommandInterruptedException
    Implements
    ISerializable
    Inherited Members
    RequestFailedException.ErrorCode
    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.Services.Wire.Internal
    Assembly: Unity.Services.Wire.Internal.dll
    Syntax
    public class CommandInterruptedException : RequestFailedException, ISerializable

    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

    Implements

    ISerializable
    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)