Class SteamSignInTransportException
A sign-in call that did not produce an answer worth reading: unreachable, timed out, an HTTP error, or a result code other than OK.
Inherited Members
Namespace: Serenity.Steam.Application.SignIn
Assembly: Serenity.Steam.Application.dll
Syntax
public sealed class SteamSignInTransportException : Exception, ISerializable, _Exception
Remarks
The message never carries a response body, so it is safe to show and to log.
Constructors
SteamSignInTransportException(string, bool, int, Exception)
Creates the exception.
Declaration
public SteamSignInTransportException(string message, bool isTransient, int eresult = 0, Exception innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | What went wrong, without any response body. |
| bool | isTransient | Whether repeating the call after a pause is worth it. |
| int | eresult | The Steam result code, or NoEResult. |
| Exception | innerException | The underlying failure, if any. |
Fields
NoEResult
The result code reported when no Steam result code was involved (a timeout, an HTTP error).
Declaration
public const int NoEResult = 0
Field Value
| Type | Description |
|---|---|
| int |
Properties
EResult
Declaration
public int EResult { get; }
Property Value
| Type | Description |
|---|---|
| int | The Steam result code, or NoEResult when none was involved. |
IsTransient
Declaration
public bool IsTransient { get; }
Property Value
| Type | Description |
|---|---|
| bool | Whether repeating the call after a pause is worth it. |