Skip to content

XMediator::Api::InstanceResult::Failure

A class with the relevant information of a waterfall instance that has failed.

Inherits from XMediator.Api.InstanceResult

Public Functions

Name
Failure(InstanceInformation information, TimeSpan latency, InstanceError error)
override bool Equals(object obj)
override int GetHashCode()
override string ToString()

Protected Functions

Name
bool Equals(Failure other)

Public Properties

Name
TimeSpan Latency
The amount of time the instance used to load an ad before failing.
InstanceError Error
The error that caused the failure.
override InstanceInformation Information

Additional inherited members

Public Classes inherited from XMediator.Api.InstanceResult

Name
class Failure
A class with the relevant information of a waterfall instance that has failed.
class Success
A class with the relevant information of a waterfall instance that has succeeded.
class Unused
A class with the relevant information of a waterfall instance that has not been used, usually because a previous instance succeeded to load an ad.

Public Functions inherited from XMediator.Api.InstanceResult

Name
bool TryGetFailure(out Failure failure)
bool TryGetSuccess(out Success success)
bool TryGetUnused(out Unused success)

Public Functions Documentation

function Failure

Failure(
    InstanceInformation information,
    TimeSpan latency,
    InstanceError error
)

function Equals

override bool Equals(
    object obj
)

function GetHashCode

override int GetHashCode()

function ToString

override string ToString()

Protected Functions Documentation

function Equals

bool Equals(
    Failure other
)

Public Property Documentation

property Latency

TimeSpan Latency;

The amount of time the instance used to load an ad before failing.

property Error

InstanceError Error;

The error that caused the failure.

property Information

override InstanceInformation Information;

Updated on 2024-11-07 at 18:31:49 +0000