Class RecoveryInitiationException
- Namespace
- Sportradar.OddsFeed.SDK.Common.Exceptions
- Assembly
- Sportradar.OddsFeed.SDK.dll
An exception thrown when the recovery operation cannot be initiated due to after param to far in the past
public class RecoveryInitiationException : Exception, ISerializable
- Inheritance
-
RecoveryInitiationException
- Implements
- Inherited Members
Constructors
RecoveryInitiationException(SerializationInfo, StreamingContext)
Initializes a new instance of the RecoveryInitiationException class.
public RecoveryInitiationException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
RecoveryInitiationException(string, DateTime)
Initializes a new instance of the RecoveryInitiationException class
public RecoveryInitiationException(string message, DateTime after)
Parameters
messagestringThe exception message
afterDateTimeThe after parameter of the recovery operation that caused the exception
RecoveryInitiationException(string, DateTime, Exception)
Initializes a new instance of the RecoveryInitiationException class
public RecoveryInitiationException(string message, DateTime after, Exception inner)
Parameters
messagestringThe exception message
afterDateTimeThe after parameter of the recovery operation that caused the exception
innerExceptionThe Exception that caused the current exception to be thrown
Properties
After
Gets a DateTime specifying the after parameter of the failed recovery
public DateTime After { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
ToString()
Returns a string that represents this instance.
public override string ToString()