C# Class Moryx.Configuration.InvalidConfigException

Exception
Inheritance: Exception
ファイルを表示 Open project: PHOENIXCONTACT/MORYX-Platform

Public Methods

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

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

InvalidConfigException() public method

Default constructor
public InvalidConfigException ( ) : System
return System

InvalidConfigException() public method

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

InvalidConfigException() public method

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