C# Class Moryx.Configuration.InvalidConfigException

Exception
Inheritance: Exception
Afficher le fichier Open project: PHOENIXCONTACT/MORYX-Platform

Méthodes publiques

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

InvalidConfigException ( ) : System

Default constructor

InvalidConfigException ( SerializationInfo si, StreamingContext context ) : System

Initializes a new instance with serialized data.

InvalidConfigException ( object faultyEntry, string propertyFailure ) : System

Signal an invalid value within the configuration

Method Details

GetObjectData() public méthode

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
The info parameter is a null reference
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo The System.Runtime.Serialization.SerializationInfo that holds the serialized /// object data about the exception being thrown.
context StreamingContext The System.Runtime.Serialization.StreamingContext that contains contextual /// information about the source or destination.
Résultat void

InvalidConfigException() public méthode

Default constructor
public InvalidConfigException ( ) : System
Résultat System

InvalidConfigException() public méthode

Initializes a new instance with serialized data.
public InvalidConfigException ( SerializationInfo si, StreamingContext context ) : System
si SerializationInfo The SerializationInfo that holds the serialized object data about the exception being thrown.
context StreamingContext The StreamingContext that contains contextual information about the source or destination.
Résultat System

InvalidConfigException() public méthode

Signal an invalid value within the configuration
public InvalidConfigException ( object faultyEntry, string propertyFailure ) : System
faultyEntry object Optional subentry defining the faulty property
propertyFailure string Failure description containing property name and cause of failure
Résultat System