Table of Contents

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

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The 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

message string

The exception message

after DateTime

The 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

message string

The exception message

after DateTime

The after parameter of the recovery operation that caused the exception

inner Exception

The 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

DateTime

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

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.