C# Class Orleans.Consensus.Contract.Messages.NotLeaderException

Inheritance: System.Exception
Afficher le fichier Open project: OrleansContrib/Orleans.Consensus

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
NotLeaderException ( SerializationInfo info, StreamingContext context ) : System

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

Method Details

GetObjectData() public méthode

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.
Résultat void

NotLeaderException() public méthode

Initializes a new instance of the T:System.Exception class.
public NotLeaderException ( ) : System
Résultat System

NotLeaderException() protected méthode

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.
Résultat System

NotLeaderException() public méthode

public NotLeaderException ( string leader ) : System
leader string
Résultat System

NotLeaderException() public méthode

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.
Résultat System