Class LArgumentNullException
- Namespace
- Loehnert.Lisrt.Messaging.Exceptions
- Assembly
- Loehnert.Lisrt.dll
A localizable ArgumentNullException.
[Serializable]
[Export(typeof(ITranslatableException))]
public class LArgumentNullException : ArgumentNullException, _Exception, ISerializable, ITranslatableException, ITranslatableText, IHasMessageNumber
- Inheritance
-
LArgumentNullException
- Implements
- Inherited Members
- Extension Methods
Constructors
LArgumentNullException()
Initializes a new instance of the LArgumentNullException class.
public LArgumentNullException()
Remarks
Without parameters for exporting.
LArgumentNullException(ArgumentNullException)
Initializes a new instance of the LArgumentNullException class.
public LArgumentNullException(ArgumentNullException ex)
Parameters
ex
ArgumentNullExceptionThe ArgumentNullException instance.
LArgumentNullException(SerializationInfo, StreamingContext)
Initializes a new instance of the LArgumentNullException class with serialized data.
protected LArgumentNullException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
serializationInfo
SerializationInfoThe object that holds the serialized object data.
streamingContext
StreamingContextAn object that describes the source or destination of the serialized data.
Properties
Message
Gets the localized exception message.
public override string Message { get; }
Property Value
MessageNumber
Gets the defined MessageNumber.
public int MessageNumber { get; }
Property Value
Remarks
Equal with a ID.
Methods
Translate(CultureInfo)
Translates the Message.
public string Translate(CultureInfo culture)
Parameters
culture
CultureInfoCulture for the returning message.