Class CommandInterruptedException
This exception is thrown when the connection is lost or dropped during a command execution (i.e. subscription, unsubscription, etc.).
Inherited Members
Namespace: Unity.Services.Wire.Internal
Syntax
public class CommandInterruptedException : RequestFailedException, ISerializable, _Exception
Constructors
CommandInterruptedException(String, CentrifugeCloseCode)
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 |