Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The LocalizedException class uses localized strings for exception messages.
The LocalizedException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | LocalizedException(LocalizedString) | The LocalizedException constructor creates a new LocalizedException with a localized string for the error message. | 
| .gif) | LocalizedException(SerializationInfo, StreamingContext) | The LocalizedException constructor creates a new serializable LocalizedException object. | 
| .gif) | 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 | |
|---|---|---|
| .gif) | ErrorCode | The ErrorCode property gets or sets the error code for this LocalizedException object. | 
| .gif) | FormatProvider | The FormatProvider property gets or sets the FormatProvider that this LocalizedException object uses to format its error message. | 
| .gif) | LocalizedString | The LocalizedString property gets the localized error message for this LocalizedException object. | 
| .gif) | Message | The Message property gets the non-localized error message for this LocalizedException object. (Overrides Exception.Message.) | 
| .gif) | StringFormatParameters | |
| .gif) | StringId | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | GenerateErrorCode | The GenerateErrorCode method uses information in the exception argument e to generate an error code. | 
| .gif) | GetObjectData | The GetObjectData method is called when this LocalizedException object is serialized. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | 
Top