C# Класс RiotNet.RestException

Represents an error that occurred during a REST request.
Наследование: System.Exception
Показать файл Открыть проект

Открытые методы

Метод Описание
RestException ( ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, Exception innerException ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, string message ) : System.Runtime.Serialization

Creates a new RestException instance.

RestException ( RiotNet.RiotResponse response, string message, Exception innerException ) : System.Runtime.Serialization

Creates a new RestException instance.

Приватные методы

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
RestException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Описание методов

RestException() публичный Метод

Creates a new RestException instance.
public RestException ( ) : System.Runtime.Serialization
Результат System.Runtime.Serialization

RestException() публичный Метод

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
Результат System.Runtime.Serialization

RestException() публичный Метод

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, Exception innerException ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
innerException System.Exception The exception that is the cause of the current exception.
Результат System.Runtime.Serialization

RestException() публичный Метод

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, string message ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
message string A message that describes the error.
Результат System.Runtime.Serialization

RestException() публичный Метод

Creates a new RestException instance.
public RestException ( RiotNet.RiotResponse response, string message, Exception innerException ) : System.Runtime.Serialization
response RiotNet.RiotResponse The response.
message string A message that describes the error.
innerException System.Exception The exception that is the cause of the current exception.
Результат System.Runtime.Serialization