C# Класс Orleans.Consensus.Contract.Messages.NotLeaderException

Наследование: System.Exception
Показать файл Открыть проект

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

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

When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.

NotLeaderException ( ) : System

Initializes a new instance of the T:System.Exception class.

NotLeaderException ( string leader ) : System
NotLeaderException ( string message, Exception innerException ) : System

Initializes a new instance of the T:System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

Защищенные методы

Метод Описание
NotLeaderException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the T:System.Exception class with serialized data.

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

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

When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.
The parameter is a null reference (Nothing in Visual Basic).
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
Результат void

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

Initializes a new instance of the T:System.Exception class.
public NotLeaderException ( ) : System
Результат System

NotLeaderException() защищенный Метод

Initializes a new instance of the T:System.Exception class with serialized data.
The parameter is null. The class name is null or is zero (0).
protected NotLeaderException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
Результат System

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

public NotLeaderException ( string leader ) : System
leader string
Результат System

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

Initializes a new instance of the T:System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
public NotLeaderException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Результат System