Class LFileNotFoundException
- Namespace
- Loehnert.Lisrt.Messaging.Exceptions
- Assembly
- Loehnert.Lisrt.dll
A localizable FileNotFoundException.
[Serializable]
[Export(typeof(ITranslatableException))]
public class LFileNotFoundException : FileNotFoundException, ISerializable, _Exception, ITranslatableException, ITranslatableText, IHasMessageNumber
- Inheritance
-
LFileNotFoundException
- Implements
- Inherited Members
- Extension Methods
Constructors
LFileNotFoundException()
Initializes a new instance of the LFileNotFoundException class.
public LFileNotFoundException()
LFileNotFoundException(FileNotFoundException)
Initializes a new instance of the LFileNotFoundException class.
public LFileNotFoundException(FileNotFoundException ex)
Parameters
ex
FileNotFoundExceptionThe FileNotFoundException instance.
LFileNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the LFileNotFoundException class with the specified serialization and context information.
protected LFileNotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
serializationInfo
SerializationInfoAn object that holds the serialized object data about the exception being thrown.
streamingContext
StreamingContextAn object that contains contextual information about the source or destination.
Properties
Message
Gets the localized exception message.
public override string Message { get; }
Property Value
MessageNumber
Gets the defined MessageNumber. Equal with a ID.
public int MessageNumber { get; }
Property Value
Methods
Translate(CultureInfo)
Translates the Message.
public string Translate(CultureInfo culture)
Parameters
culture
CultureInfoCulture for the returning message.