Skip to content

XMediator::Api::InitResult::Failure

Represents a failure result of XMediator SDK core initialization.

Inherits from XMediator.Api.InitResult

Public Functions

Name
Failure(int errorCode, string errorDescription)
override bool Equals(object obj)
override int GetHashCode()
override string ToString()

Protected Functions

Name
bool Equals(Failure other)

Public Properties

Name
int ErrorCode
string ErrorDescription

Additional inherited members

Public Classes inherited from XMediator.Api.InitResult

Name
class Failure
Represents a failure result of XMediator SDK core initialization.
class Success
Represents a successful result of XMediator SDK core initialization.

Public Functions inherited from XMediator.Api.InitResult

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

Public Properties inherited from XMediator.Api.InitResult

Name
bool IsSuccess
Returns whether initialization was successful or not.

Public Functions Documentation

function Failure

Failure(
    int errorCode,
    string errorDescription
)

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 ErrorCode

int ErrorCode;

property ErrorDescription

string ErrorDescription;

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