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

Inheritance: System.Exception
Mostrar archivo Open project: OrleansContrib/Orleans.Consensus

Public Methods

Method 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.

Protected Methods

Method Description
NotLeaderException ( SerializationInfo info, StreamingContext context ) : System

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

Method Details

GetObjectData() public method

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.
return void

NotLeaderException() public method

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

NotLeaderException() protected method

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.
return System

NotLeaderException() public method

public NotLeaderException ( string leader ) : System
leader string
return System

NotLeaderException() public method

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.
return System