LocalizedException members
The LocalizedException class uses localized strings for exception messages.
The LocalizedException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LocalizedException(LocalizedString) | The LocalizedException constructor creates a new LocalizedException with a localized string for the error message. | |
LocalizedException(SerializationInfo, StreamingContext) | The LocalizedException constructor creates a new serializable LocalizedException object. | |
LocalizedException(LocalizedString, Exception) | The LocalizedException constructor uses a localized error message to create a new LocalizedException object from an inner exception. |
Top
Properties
Name | Description | |
---|---|---|
ErrorCode | The ErrorCode property gets or sets the error code for this LocalizedException object. | |
FormatProvider | The FormatProvider property gets or sets the FormatProvider that this LocalizedException object uses to format its error message. | |
LocalizedString | The LocalizedString property gets the localized error message for this LocalizedException object. | |
Message | The Message property gets the non-localized error message for this LocalizedException object. (Overrides Exception.Message.) | |
StringFormatParameters | ||
StringId |
Top
Methods
Name | Description | |
---|---|---|
GenerateErrorCode | The GenerateErrorCode method uses information in the exception argument e to generate an error code. | |
GetObjectData | The GetObjectData method is called when this LocalizedException object is serialized. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
Top