LogicException Constructor (SerializationInfo, StreamingContext, LogicErrors, String) |
Creates an instance of a logic exception.
A logic exception is a way to interrupt the program flow that has failed due to one or more
LogicError
Namespace: Entelect.ErrorHandlingAssembly: Entelect (in Entelect.dll) Version: 0.0.79
Syntaxprotected LogicException(
SerializationInfo info,
StreamingContext context,
LogicErrors errors,
string additionalMessage = null
)
Parameters
- info
- Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown. - context
- Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination. - errors
- Type: Entelect.ErrorHandlingLogicErrors
The collection of errors that caused this exception - additionalMessage (Optional)
- Type: SystemString
Any additional information to display about the exception
ExceptionsException | Condition |
---|
ArgumentNullException | The info parameter is null. |
SerializationException | The class name is null or HResult is zero (0). |
See Also