Class CommandInterruptedException
This exception is thrown when the connection is lost or dropped during a command execution (i.e. subscription, unsubscription, etc.).
Implements
Inherited Members
Namespace: Unity.Services.Wire.Internal
Assembly: Unity.Services.Multiplay.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 |